rql-schema
GitHub列出RQL源及场景组件类型,或查询指定类型的成员与方法。用于在查询不熟悉组件前获取其结构信息。
Trigger Scenarios
Install
npx skills add IvanMurzak/Unity-MCP --skill rql-schema -g -y
SKILL.md
Frontmatter
{
"name": "rql-schema",
"metadata": {
"generated-by": "mcp-plugin-dotnet"
},
"description": "List RQL sources and the component types present in the loaded scenes; pass a type name for its members."
}
RQL / Schema
Without a type: RQL sources, asset functions, and the component types present in the loaded scenes (with counts), plus GameObject and Transform members. With a type name (e.g. "Light", "Enemy", "Vector3"): that type's members (name type; ro = read-only) and methods. Use it before querying an unfamiliar component.
How to Call
unity-mcp-cli run-tool rql-schema --input '{
"type": "string_value"
}'
For complex input (multi-line strings, code), save the JSON to a file and use:
unity-mcp-cli run-tool rql-schema --input-file args.jsonOr pipe via stdin (recommended):
unity-mcp-cli run-tool rql-schema --input-file - <<'EOF' {"param": "value"} EOF
Troubleshooting
If unity-mcp-cli is not found, either install it globally (npm install -g unity-mcp-cli) or use npx unity-mcp-cli instead.
Read the /unity-initial-setup skill for detailed installation instructions.
Input
| Name | Type | Required | Description |
|---|---|---|---|
type |
string |
No | Optional type name, e.g. "Light", "Rigidbody", "Enemy", "Vector3" |
Input JSON Schema
{
"type": "object",
"properties": {
"type": {
"type": "string"
}
}
}
Output
This tool does not return structured output.
Version History
- 3ff3f1c Current 2026-10-19 10:48


