Add an endpoint
add_endpointAdd a call the tester may make into your system. It sees only the name, the description and what the call returned. Using endpoints in a run needs a paid plan. bodyTemplate may contain {{param}} placeholders the tester fills in. Headers (for example Authorization) are encrypted and never returned.
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": {
"projectId": "<projectId>",
"name": "<name>",
"description": "<description>",
"url": "<url>"
},
"name": "add_endpoint"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| url | Yes | https://… address | |
| name | Yes | Short name (up to 40 characters), for example create_voucher | |
| method | No | HTTP method (default POST) | |
| headers | No | Request headers, up to 20 (write-only) | |
| projectId | Yes | Project id (p_…) | |
| description | Yes | What it does and when to use it (up to 600 characters) | |
| bodyTemplate | No | Request body with {{param}} placeholders, optional |