yeelight_metadata.get_action_schema
返回指定 task/action 的参数 schema、全局 Header、局部 context、payload 和 options 提示。
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"task": "<task>",
"action": "<action>"
},
"name": "yeelight_metadata.get_action_schema"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| task | Yes | 任务 ID,例如 family_space.manage_room | |
| action | Yes | 动作 ID,例如 create、list、delete 或 get_house_detail |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |