ctf_serve_http
Serve a directory over HTTP using Python's built-in server for quick file sharing.
Instructions
Quickly serve a directory over HTTP (Python http.server).
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": {
"session_id": "<session_id>"
},
"name": "ctf_serve_http"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| port | No | Port to serve on (default 8000) | |
| directory | No | Directory to serve (default current dir) | |
| session_id | Yes |