Grant covenant
grant_covenantGrant an agent a covenant: an explicit lease of authority. scopes support wildcards ('payments.', ''); budget_minor is the total spend ceiling in minor units; expires_at is ISO-8601. Returns the covenant_id.
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": {
"principal": "<principal>",
"agent_id": "<agent_id>",
"scopes": "<scopes>",
"budget_minor": "<budget_minor>",
"expires_at": "<expires_at>"
},
"name": "grant_covenant"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| scopes | Yes | ||
| agent_id | Yes | ||
| principal | Yes | ||
| expires_at | Yes | ||
| budget_minor | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |