Read an approval request
get_approvalRead an approval request and its status. Use when after request_approval, to learn whether the person approved it. Before: an approval id from request_approval. Returns the request: pending, approved, denied, completed or failed, with job_id or error_code once done; for functions.deploy the summary holds the public url; get_function_job needs job read access. Cost: free.
Example tool call
This call uses example arguments supplied in the tool’s input schema.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"id": "3c1e5a7b-9d2f-4b6a-8e0c-1f2a3b4c5d6e"
},
"name": "get_approval"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | Approval id from request_approval. |