read_file
Fetches a vault note or schema/style file by path and returns its content with an ETag, enabling safe writes that detect and refuse overwriting another user's changes.
Instructions
MODERATE — one round trip to storage. Returns the note with an etag: first line; pass that etag back to write_file to refuse a write over someone else's change. Search first. .vault/schema.yml reads the vault's schema; .vault/styles/<kind>.md a kind's style, and .vault/styles/<kind>.override.md the user's override of it.
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>"
},
"name": "read_file"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| path | Yes | ||
| vault | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |