append_to_file
Adds a line of text to the end of a file, creating the file if it does not exist. Use it to log notes or extend text files on a macOS laptop.
Instructions
Add a line to the end of a text file, creating the file if needed.
Args:
path: Full path to the file.
text: The line to append.
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": {
"path": "<path>",
"text": "<text>"
},
"name": "append_to_file"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| path | Yes | ||
| text | Yes |