zerodom_upload_file
Upload a file to a web page's file input by setting its value to a local path, then returns the resulting DOM changes.
Instructions
Set a file input's value to a local file path and return what changed.
path is resolved on the machine driving the browser — the same trust boundary as zerodom_eval_js, not a new one.
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": {
"node_id": "<node_id>",
"path": "<path>"
},
"name": "zerodom_upload_file"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| path | Yes | ||
| node_id | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |