ctf_download_file
Download CTF challenge files by supplying a challenge ID or direct file URL, saving them to a specified output directory for further analysis.
Instructions
Download challenge files from the CTF platform.
Either provide challenge_id (downloads the first file) or a direct file_url from the challenge details.
Args: challenge_id: Download files for this challenge (uses first file) file_url: Direct file URL (takes priority over challenge_id) output_dir: Directory to save files to (default: /app/tmp/ctf_files)
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "ctf_download_file"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| file_url | No | ||
| output_dir | No | /app/tmp/ctf_files | |
| challenge_id | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |