save_to_new_file
Create a new notes file by providing a filename and content. Save the text to persistent storage and receive confirmation of the saved note.
Instructions
Save content to a new notes file.
Args:
filename (str): Name of the new file to create.
content (str): Content to save in the new file.
Returns:
str: Confirmation message indicating the content was saved.
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": {
"filename": "<filename>",
"content": "<content>"
},
"name": "save_to_new_file"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| content | Yes | ||
| filename | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |