Optional: Read the mandate
get_mandateRetrieve your agent’s purchasing mandate with spend limits, allergen and claim rules, human-approval requirements, and signature.
Instructions
The mandate you act under (spend limits, allergen and claim rules, what needs a human), with its signature. Only your own mandate (send your Authorization: Bearer header or agent_token) or a public demo mandate. Returns {mandate (schema /schemas/mandate.json), jws (sous-mandate+jws), issuer, credential?, revocation?}.
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_id": "<mandate_id>"
},
"name": "get_mandate"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| mandate_id | Yes | ||
| agent_token | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| jws | Yes | ||
| issuer | Yes | ||
| mandate | Yes | ||
| credential | No | vc+jwt credential when the buyer issued one | |
| remembered | No | Remembered decisions (approve and remember, sous/remembered.py): findings a human approved earlier that now notify instead of ask: {id, rule, product_id, original_product_id?, by, created_at, expires_at, max_quantity?, max_line_total_eur?, jws (sous-remembered+jws)}. Tell the buyer when one was used. | |
| revocation | No |