write_file
Create or overwrite file contents on local or remote systems, with append and parent directory creation. Existing files trigger confirmation to prevent accidental data loss.
Instructions
Fajl letrehozasa vagy felulirasa (vagy hozzafuzes).
Letezo fajl felulirasa eseten megerositest ker.
Args: params (WriteFileInput): path, content, append, create_parents, host. Returns: str: Megerosites (kiirt byte-ok szama).
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": {
"params": "<params>"
},
"name": "write_file"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| params | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |