Get a JSONPad API endpoint contract
get_api_endpointThe full contract of one REST API endpoint: parameters, headers, request body, responses and examples, and the JavaScript SDK method that calls it. Find it by id (the docs page slug, e.g. "item-restore"), by method and path (templates or concrete paths both work: "/lists/my-list/items/abc"), or by a description.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "get_api_endpoint"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | No | The endpoint id, from list_api_endpoints | |
| path | No | The path, e.g. /lists/{listId}/items | |
| query | No | What the endpoint does, e.g. "restore a deleted item" | |
| method | No | The HTTP method |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| endpoint | Yes |