login
Authenticate to a CTFd account with a username and password, creating an in-memory session cookie so AI tools can access challenges and submit flags without exposing the password.
Instructions
Log in to CTFd with a username and password (kept in memory only).
Creates a session cookie; the password is never returned.
Args: username: CTFd account name. password: CTFd account password.
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": {
"username": "<username>",
"password": "<password>"
},
"name": "login"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| password | Yes | ||
| username | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |