write_content
Write or append content to multiple files in specific paths, creating necessary directories automatically. Ideal for managing and updating file content efficiently.
Instructions
Write or append content to multiple specified files (creating directories if needed).
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": {
"items": "<items>"
},
"name": "write_content"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| items | Yes | Array of {path, content, append?} objects. |