add_grant
Record a person’s exact words as a grant, assigning team, project, or personal scope and optional repo areas; project grants may require approvals before taking effect.
Instructions
Keep one grant: words are the person's own words, quoted exactly as they said them
(never your summary); Tares adds today's date. kind is team (every project; all is the
old name), project (this project only, name it in project) or personal (what may run on
the person's own machine, for the key's own person). Without kind, a project makes it a
project grant and no project a team grant. areas lists the GitHub repos (owner/name) a
project grant reaches into, and needs an enterprise licence: the grant then waits, not in
effect, until each repo's area owner (other than the giver) calls consent_grant. A project
grant from someone who is neither the project's lead nor an admin also waits for the lead (an
admin, when the project has none). Without a licence a grant takes effect at once. scope is
the older name of kind. Only the person's own session or the orchestrator, relaying the
person verbatim, may add one.
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": {
"words": "<words>"
},
"name": "add_grant"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| kind | No | ||
| areas | No | ||
| scope | No | ||
| words | Yes | ||
| project | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |