Renew an agent's mandate
renew_mandateExtend or change an existing agent's spending limits and expiry without registering a new agent. Use it on MANDATE_EXPIRED or to raise or lower limits. It re-signs the mandate of an agent of your principal (you, unless target_agent_id names another) with new limits and expiry, under the same registration policy caps as register_agent. Needs your agent credentials and the principal_key (argument or X-Principal-Key header). The agent keeps its agent_id, agent_key and spend history. Use it on MANDATE_EXPIRED or to change limits instead of registering a new agent; an agent whose mandate had expired takes a slot again (PRINCIPAL_AGENT_LIMIT when none is free). Revoked agents cannot be renewed (AGENT_REVOKED).
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": {
"mandate": "<mandate>"
},
"name": "renew_mandate"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| mandate | Yes | Spending limits this agent is bound by, in minor units (cents); see get_policies for the caps the store allows | |
| agent_id | No | Your agent id (or X-Agent-Id header) | |
| agent_key | No | Secret returned by register_agent (or X-Agent-Key header) | |
| principal_id | No | The principal you act for (or X-Principal-Id header) | |
| principal_key | No | The principal's current principal_key (or X-Principal-Key header) | |
| target_agent_id | No | Agent whose mandate to renew (default: you) |