Get word count
get_word_countCounts words and characters in an Obsidian note while excluding frontmatter, helping you gauge content length accurately.
Instructions
Word and character count for a note, excluding frontmatter.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "get_word_count"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| file | No | Note name, resolved like a wikilink. No folder path, no extension. | |
| path | No | Exact path from the vault root, e.g. "Projects/Roadmap.md". |