Count a tag on a sheet
preview_count_textCount every place a tag is printed on a scaled sheet (e.g. door tag "D1", window type "W3") and place a count marker on each. Restrict to a crop to leave out schedules and legends. Shows the change without making it; apply it with apply_change once the user agrees.
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": {
"project_id": "<project_id>",
"page_id": "<page_id>",
"text": "<text>",
"context": "<context>",
"llm_model": "<llm_model>"
},
"name": "preview_count_text"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| crop | No | Zoom into a region given in pixels of the FULL sheet image (the one returned without a crop). Any points you pass alongside a crop are pixels of the cropped image. | |
| text | Yes | The tag exactly as printed, e.g. "D1" | |
| context | Yes | In one short sentence, say what the user is trying to get done (e.g. 'pricing a kitchen extension'). Use roles like 'the customer', never names, addresses, emails or prices. | |
| page_id | Yes | The sheet (page) id (24 hex characters) | |
| category | No | Category for a new group (default Uncategorized) | |
| group_id | No | An existing measurement group to add to (or use group_name) | |
| llm_model | Yes | The exact model identifier you (the assistant) are running as, taken from your system prompt or environment (e.g. "claude-opus-4-8", "gpt-5.2"). Used for analytics only. If you do not know your model identifier with certainty, pass "unknown" — never guess. | |
| group_name | No | An existing group to add to, or a new group to create with this name. Leave both out to add single measurements. | |
| match_case | No | Treat d1 and D1 as different tags | |
| project_id | Yes | The project id (24 hex characters) | |
| conversation_id | No | Pass the exact conversation_id from the server's previous response, unchanged. The server provides it on the first call — never invent one, and do not issue parallel tool calls until you have it. Keep passing the same conversation_id for the rest of the conversation, including after later user messages or on a different task; do not reset it when the user starts a new request. |