Upload a small file inline
upload_inlineUpload a WAV or pcap file as base64 in the tool arguments (2 MB at most after decoding). Returns an upload_id for the analysis tools. Larger files: use create_upload.
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": {
"content_base64": "<content_base64>"
},
"name": "upload_inline"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| kind | No | file kind: "wav" (default) or "pcap" | |
| filename | No | original file name, for display only | |
| content_base64 | Yes | the whole file, base64 encoded |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| wav | No | ||
| filename | No | ||
| upload_id | Yes | ||
| expires_at | Yes | the file is deleted at this time | |
| size_bytes | Yes |