submit_flag
Submit a flag for a CTF challenge by providing the flag value and challenge ID or name; requires explicit confirmation.
Instructions
Submit a flag for a challenge.
Safety: requires confirm=True. Provide exactly one of challenge_id or challenge_name. The flag value is never logged.
Args: flag: the flag to submit. challenge_name: name of the challenge to submit against. challenge_id: numeric id of the challenge to submit against. confirm: must be set to True as an explicit submission opt-in.
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": {
"flag": "<flag>"
},
"name": "submit_flag"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| flag | Yes | ||
| confirm | No | ||
| challenge_id | No | ||
| challenge_name | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |