file-write
Create or overwrite a file. Side-effecting.
id tool/file-writev1.0.0function file_write
Signature
| Parameter | Type | Required | Description |
|---|---|---|---|
path | string | yes | Destination path |
content | string | yes | Bytes / UTF-8 content |
| returns | object | {path, bytes_written}. |
Tool definition for the model
{
"name": "file_write",
"description": "Write content to a file path.",
"input_schema": {
"type": "object",
"properties": {
"path": {
"type": "string",
"description": "Destination path"
},
"content": {
"type": "string",
"description": "Bytes / UTF-8 content"
}
},
"required": [
"path",
"content"
]
}
}Used by
- agent/runbook-executor — Runbook Executor
Author convergent-systems-key. Source convergent-systems-co/agent-atoms (original ↗). License Apache-2.0. Re-typed from tool-definition by scripts/migrate-policy-tool.py.