create_approval
Create an approval request and receive its ID right away. Use a webhook URL or poll with get_approval to track the decision, with risk levels low, medium, or high.
Instructions
Create an approval request and return its id immediately (no waiting). Use with a webhook_url, or poll with get_approval. risk: low | medium | high.
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>",
"context": "<context>",
"risk": "<risk>"
},
"name": "create_approval"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| risk | Yes | ||
| action | Yes | ||
| context | Yes | ||
| webhook_url | No | ||
| requested_by | No | mcp-agent | |
| expires_in_sec | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |