Make an API key
make_an_api_keyMake an API key for an agent with no person behind it, with only the scopes it needs. The secret is answered once and kept nowhere. A scope whose write only an admin grants (activities:write, settings:write, tommos:write) needs an admin or the owner.
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": {
"name": "<name>",
"scopes": "<scopes>"
},
"name": "make_an_api_key"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes | What the key is for, as the owner will read it in Settings | |
| scopes | Yes | The scopes; a write scope includes its read | |
| expires_in_days | No | Days until it stops working; leave out for a key that does not expire |