Agentmail · write
agentmailCreate, change or pay at https://api.agentmail.to through Regent (POST, PUT, PATCH or DELETE). Every call is a gated decision under the agent's spend limit; a payment the owner has not pre-approved is parked for them (ESCALATION_REQUIRED) and executes on a retry with the same idempotency_key after approval. The credential never reaches the agent.
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": "agentmail"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| body | No | JSON body (optional) | |
| path | Yes | Path after the base URL | |
| facts | No | Verified facts the policy keys on (object). | |
| intent | No | One-line reason for this call, recorded in the audit. | |
| method | No | POST | |
| user_token | No | The human's OIDC id_token when acting for a person. | |
| idempotency_key | No | Your own key for this call. If the call is parked for a human (ESCALATION_REQUIRED), repeat it with the same key after approval to execute it. |