Call an approved action with its credential
call_actionPerform one approved action without receiving the credential: action, a path on its host, a reason. The server adds the value and the owner's prefix, then returns the answer. A DELETE asks the owner first. Example: {"action":"cloudflare","method":"GET","path":"/zones","reason":"Check the zone list"}
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": {
"action": "<action>",
"path": "<path>",
"reason": "<reason>"
},
"name": "call_action"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| body | No | Request body for a write, sent as JSON. Never a credential. | |
| path | Yes | A path on the action's own host, starting with / (query allowed, no URL). | |
| action | Yes | An action name from list_actions. | |
| method | No | Must be one of the action's allowed methods. | GET |
| reason | Yes | One plain sentence for the owner's activity feed. | |
| project_id | No | The project whose vault drawer holds the credential; defaults to the project this session is on. |