append_to_file
Add text to the end of a text file in Google Drive. Supply the file ID and content to append.
Instructions
Append text content to the end of an existing text file. Does not work with Google Docs/Sheets/Slides.
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": {
"file_id": "<file_id>",
"content": "<content>"
},
"name": "append_to_file"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| content | Yes | Text content to append to the end of the file. | |
| file_id | Yes | The ID of the text file to append to. | |
| mime_type | No | MIME type of the file (e.g., 'text/plain', 'application/json'). | text/plain |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |