write_file
Write text to a file on WD MyCloud, creating a new file or overwriting an existing one. Provide the relative path and content.
Instructions
Write text content to a file on WD MyCloud (creates or overwrites).
Args: path: Relative path to the file. content: Text content to write.
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": {
"path": "<path>",
"content": "<content>"
},
"name": "write_file"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| path | Yes | ||
| content | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |