Create an upload URL
create_uploadStart uploading a WAV recording (kind "wav") or a packet capture (kind "pcap"). Returns an upload_id and a one-time upload_url; send the file as the body of an HTTP PUT to that URL (for example: curl -T recording.wav '<upload_url>'), then pass the upload_id to an analysis tool. The URL works once and expires after 15 minutes; the file is deleted after an hour. Use upload_inline instead if you can only pass tool arguments.
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": "create_upload"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| kind | No | file kind: "wav" (default) or "pcap" (.pcap/.pcapng) | |
| filename | No | original file name, for display only | |
| size_bytes | No | file size, if known; larger than the limit is refused at once |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| method | Yes | ||
| max_bytes | No | largest file accepted (0 = no limit) | |
| upload_id | Yes | ||
| expires_at | Yes | the URL must be used before this time | |
| upload_url | Yes | one-time URL: HTTP PUT the file as the request body | |
| max_seconds | No | longest WAV accepted (0 = no limit) | |
| curl_example | Yes |