call_endpoint
Call any RecurPost API endpoint by ID with consistent login, headers, and error handling; use find_endpoints to retrieve endpoint IDs and required parameters before sending.
Instructions
Call any RecurPost API endpoint by its id, with the same login, headers and error handling as the other tools. Use find_endpoints first to get the id and its params; use the curated tools when one fits. Ids not in the catalog are refused, and missing required params are reported before anything is sent. Endpoints that delete, publish, send email or spend credits act for real: ask the user first, and only send confirm: true after they agree.
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": {
"endpoint": "<endpoint>"
},
"name": "call_endpoint"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| params | No | The endpoint's params as a JSON object, using the names find_endpoints lists. workspace_id is optional on workspace endpoints. Leave out for endpoints without params. | |
| endpoint | Yes | Endpoint id from find_endpoints, for example queue_list or inbox_reply_comment. |