Grant Add
grant_addRecords a standing grant or route so an agent can act on approved steps or handle assigned questions without asking each time.
Instructions
Record a standing grant (the person said yes to a kind of step: kind='grant', its owner acts without asking) or a route (a kind of question belongs to an agent: kind='route', owner required, asks go to it, not to the person). says: the grant in a few plain words. keywords: whole words or phrases that mark an ask it covers (['merge', 'merging']); a word that would match any ask ('yes', 'go') is refused. source: where the person said it: a decision id ('D-150' or 'hq:D-150'), a phone note ('n5737'), a VR note ('vr::'), their words ('chat: ') or a memory file ('memory: '). Public, money, accounts and deleting cannot be granted. context: words of which at least one must also be in the ask for the entry to match (['room', 'stage'] keeps a room-edit grant off a site deploy that shares a keyword). id: default the next G.
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": {
"says": "<says>",
"keywords": "<keywords>",
"source": "<source>"
},
"name": "grant_add"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | No | ||
| date | No | ||
| kind | No | grant | |
| says | Yes | ||
| owner | No | ||
| topic | No | ||
| source | Yes | ||
| context | No | ||
| keywords | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |