put_content
Overwrite the full content of a markdown file in an Obsidian vault, creating the file if it does not exist. Use to replace or initialize files.
Instructions
Overwrite the entire content of a file. Creates the file if it does not exist.
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": {
"filepath": "<filepath>",
"content": "<content>"
},
"name": "put_content"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| content | Yes | The markdown content to write. | |
| vaultId | No | Optional vault ID (defaults to configured default vault). | |
| filepath | Yes | Path to the file (relative to vault root). |