create_file
Creates a new file at a specified path with provided content. Useful for writing files within the data directory.
Instructions
Create a new file with content.
Args: path: File path (relative to data directory) content: File content
Returns: Result dictionary
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>",
"content": "<content>"
},
"name": "create_file"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| path | Yes | ||
| content | Yes |