count_pages
Estimate the number of pages in a rendered artifact to confirm it meets document delivery limits. Specify an artifact path and optional characters per page to calculate the page count.
Instructions
Estimate page count for a rendered artifact.
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": "count_pages"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| path | Yes | Artifact path | |
| chars_per_page | No | Chars per page |