file_write
Write text content to a remote file, creating or overwriting it with optional permission settings.
Instructions
Write string content directly to a remote file (creates or overwrites).
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": {
"session_id": "<session_id>",
"remote_path": "<remote_path>",
"content": "<content>"
},
"name": "file_write"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| mode | No | File permission mode in decimal (e.g. 420=0o644, default 420) | |
| content | Yes | Text content to write | |
| session_id | Yes | ||
| remote_path | Yes |