approve_deal
(Needs the workspace_key from create_workspace.) Approve a pending deal (books it in the ledger and the agent's cap; pays nothing). Only when the owner asked.
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": {
"workspace_key": "<workspace_key>",
"deal_id": "<deal_id>"
},
"name": "approve_deal"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| deal_id | Yes | The deal number from record_deal or today | |
| workspace_key | Yes | The workspace_key returned by create_workspace |