Add a capability
capabilities.addTurn on a capability slot such as email for a branch. When it needs the person's own credential, the answer holds a connect_url to hand to them; never ask for a key in chat. Then poll capabilities.status until live is true. Scope: projects:write.
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": {
"slot": "<slot>"
},
"name": "capabilities.add"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| slot | Yes | The capability, e.g. email | |
| branch | No | Branch (environment) id. Optional: defaults to `production`. | |
| resend | No | Send the connect link again | |
| provider | No | Who provides it: scribase (the platform, the default) or own (the person's own provider, entered on the connect page) | |
| project_id | No | Project id. Optional: defaults to the project created or used last in this session, or the only one. | |
| organization_id | No | Organization id. Optional: defaults to the token's organization, or the only one you belong to. |