set_token
Authenticate CTFd API requests with an API token stored in memory only and never logged.
Instructions
Use an API token for authentication (stored in memory only, never logged).
Args: token: CTFd API access 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": {
"token": "<token>"
},
"name": "set_token"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| token | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |