spruthub_get_method_schema
Retrieve the full schema for any Sprut.hub API method, including parameters, return types, and usage examples, to enable proper validation and integration.
Instructions
Get detailed schema for a specific Sprut.hub API method including parameters, return type, examples
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": {
"methodName": "<methodName>"
},
"name": "spruthub_get_method_schema"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| methodName | Yes | The method name (e.g., "accessory.search", "characteristic.update") |