get_method_schema
Retrieves the declared request fields and response model name for any API method, clarifying expected inputs and outputs.
Instructions
Get a method's declared request fields and response model name.
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": {
"method_name": "<method_name>"
},
"name": "get_method_schema"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| method_name | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes | ||
| fields | Yes | ||
| returning | Yes | ||
| required_fields | Yes |