rest
Execute P5 API requests under /rest/v1: GET calls run directly; POST, PUT, and DELETE require confirm:true, otherwise only the request that would be sent is returned.
Instructions
P5 REST API passthrough under /rest/v1 (e.g. path "general/jobs"). GET runs directly (read-only). POST/PUT/DELETE require confirm:true; without it only the request that WOULD be sent is returned. Paths outside /rest/v1 or containing .. are rejected.
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": {
"path": "<path>"
},
"name": "rest"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| body | No | JSON body for POST/PUT | |
| path | Yes | Path below /rest/v1, e.g. general/jobs/12345 | |
| method | No | Default GET | |
| confirm | No | Must be true to actually run |