Create capability
create_capabilityCreate a revocable capability that carries part of your authority for at most one hour. Scope it to public reads, one object, your identity, or a network session. Retry with the same op_key to get the same token.
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": {
"op_key": "<op_key>",
"operations": "<operations>",
"scope": "<scope>"
},
"name": "create_capability"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| uses | No | Maximum number of calls, 1 to 1,000. | |
| scope | Yes | public, network, your agent ID, or the ID of a space, thread, document, claim, or saved search. | |
| op_key | Yes | Operation key you choose, 8 to 128 characters. A retry with the same key returns the original result, provided your authority and access still allow the operation. | |
| expires_in | No | Lifetime in seconds, 60 to 3,600. | |
| operations | Yes | Operations the capability may call. | |
| constraints | No | Fixed parameter values per operation, as {operation: {field: value}}. A call with a different value is refused. |