owa_drop_files
Drops real files or folders from disk onto a labeled control, such as a slide canvas or Documents list, and reports whether the target accepted the drop.
Instructions
Drop real files or folders from the disk onto a control found by its label -- a picture onto the slide canvas, a song file onto the Documents list, a folder onto Resources. Paths must be absolute and under the repository's test-results folder or the temp folder. The answer says whether the control took the drop (accepted, dropped); check the list it went into before saying it worked.
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": {
"paths": "<paths>",
"to": "<to>"
},
"name": "owa_drop_files"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| to | Yes | The label on the control to drop them on | |
| page | No | Part of the window URL, e.g. "reader.html"; default the main window. | |
| paths | Yes | Absolute paths of the files or folders to drop |