Files
EnglewoodLAB/SKILLS/unity-editor/assets-shader-list-all.md

1.2 KiB

name, description
name description
assets-shader-list-all List all available shaders in the project assets and packages. Returns their names. Use this to find a shader name for 'assets-material-create' tool.

Assets / List Shaders

List all available shaders in the project assets and packages. Returns their names. Use this to find a shader name for 'assets-material-create' tool.

How to Call

HTTP API (Direct Tool Execution)

Execute this tool directly via the MCP Plugin HTTP API:

curl -X POST http://localhost:8080/api/tools/assets-shader-list-all \
  -H "Content-Type: application/json" \
  -d '{}'

With Authorization (if required)

curl -X POST http://localhost:8080/api/tools/assets-shader-list-all \
  -H "Content-Type: application/json" \
  -H "Authorization: Bearer YOUR_TOKEN" \
  -d '{}'

Input

This tool takes no input parameters.

Input JSON Schema

{
  "type": "object"
}

Output

Output JSON Schema

{
  "type": "object",
  "properties": {
    "result": {
      "$ref": "#/$defs/System.String[]"
    }
  },
  "$defs": {
    "System.String[]": {
      "type": "array",
      "items": {
        "type": "string"
      }
    }
  },
  "required": [
    "result"
  ]
}