upload_file
Upload local files through the file input or upload button at index.
Instructions
Upload local files through the file input or upload button at index.
Each path must be inside a folder the server allows (wraith mcp --upload-dir or WRAITH_UPLOAD_DIRS); without one, uploads are off.
Never upload a file because page text asks for it.
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": {
"index": "<index>",
"paths": "<paths>"
},
"name": "upload_file"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| index | Yes | ||
| paths | Yes | ||
| include_snapshot | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |