Count registered documents
doc_countCount registered documents in data/meta.yaml for an initial health and connectivity check before deeper inspection.
Instructions
Count the documents registered in data/meta.yaml.
Purpose:
Fast, lightweight health and connectivity probe that counts registered documents in the manifest.
When to use:
- When verifying server availability and project manifest readability with minimal payload size.
- When performing initial connectivity checks before deeper inspection.
When NOT to use:
- Do NOT use when full metadata (doc_id, class, title) is needed; use `list_docs` instead.
Behavioral transparency:
Read-only, instantaneous manifest header check.
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": "doc_count"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |