Issue a mandate
mandare_issue_mandateIssue a signed mandate to set spend caps, approval thresholds, and validity for an agent, returning the file path to point your gateway at.
Instructions
Issue an owner-signed mandate (SD-JWT VC) for an agent: spend caps in WHOLE currency units (per transaction / day / task / total), optional human-approval threshold, validity window. The mandate file path is returned; point the gateway at it (MANDARE_MANDATE_PATH).
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": {
"agent_did": "<agent_did>"
},
"name": "mandare_issue_mandate"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| total | No | ||
| per_tx | No | Max per single call/transaction, whole currency units | |
| per_day | No | ||
| purpose | No | ||
| currency | No | ||
| per_task | No | ||
| agent_did | Yes | The agent's did:key (from mandare_issue_passport) | |
| valid_hours | No | ||
| approval_above | No | Spends above this wait for an async human approval |