Upload File to Matching Input
upload_fileAttach local files to matching file inputs, including hidden ones, during web app QA. Use approved file-root paths to supply uploads for form and persistence checks.
Instructions
Attach local files to a matching file input, including hidden inputs. Paths must be inside approved file roots.
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": {
"description": "<description>",
"paths": "<paths>"
},
"name": "upload_file"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| paths | Yes | ||
| description | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| data | No | ||
| run_id | Yes | ||
| stages | No | ||
| status | Yes | ||
| recovery | No | ||
| operation | Yes | ||
| error_code | Yes | ||
| session_state | Yes | ||
| schema_version | No | ||
| progress_omitted | No | ||
| progress_delivery_failed | No |