Write Box file
box_write_fileCreate or replace a file in a Box work directory, overwriting any existing content at the given path with your provided data.
Instructions
Create or replace a file relative to the Box work directory. Existing content at the path is overwritten.
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": {
"box_id": "<box_id>",
"path": "<path>",
"content": "<content>"
},
"name": "box_write_file"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| path | Yes | ||
| box_id | Yes | ||
| content | Yes | ||
| encoding | No | utf8 |