SkillsHooksPromptsAgentsPersonasModelsPoliciesToolsTemplatesBundlesCategoriesStart here
← Tools
To toolcommandcodingfs-writestable

file-write

Create or overwrite a file. Side-effecting.

id tool/file-writev1.0.0function file_write

Signature

ParameterTypeRequiredDescription
pathstringyesDestination path
contentstringyesBytes / UTF-8 content
returnsobject{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

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.