Describe a ReAI API endpoint
reai_describe_endpointObtain the full API schema for a ReAI endpoint: parameters, resolved request body, and response shapes. Use before requesting unfamiliar endpoints to ensure correct fields.
Instructions
Get the complete schema for one ReAI endpoint: every parameter, the full request body with nested objects resolved, and response shapes. Use this before calling an unfamiliar endpoint with reai_request, especially for POST and PUT where required fields matter.
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": "<method>",
"path": "<path>"
},
"name": "reai_describe_endpoint"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| path | Yes | API path exactly as it appears in the spec, including braces for path parameters, e.g. "/api/customers/{id}". | |
| depth | No | How deep to expand nested schemas (default 4). Raise it for deeply nested payloads. | |
| method | Yes | HTTP method of the endpoint. |