detect_doc_type
Identify document type by running structural heuristics before chunking. Returns a resolved doc_type token to preview which parser or chunking strategy applies.
Instructions
Run structural heuristics to detect document type.
Useful when you want to know what chunk_text would pick before
actually chunking. Returns the resolved doc_type token.
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": {
"text": "<text>"
},
"name": "detect_doc_type"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| text | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||