get_workspace_item
Read one item from the user's Clarifo workspaces.
Every read returns content_version (the saved revision). Editor documents come back as text with citations written [n]; source_refs[n] gives the cited page and an openable link. Long items are paged: when has_more is true, call again with cursor=next_cursor until is_complete or has_more is false; never present a partial read as the whole document.
Args: item_id: From list_workspace_items. workspace_id: Optional; the item's workspace. view: full (default, paged text), manifest (section list with section_id and size, no body: start here for long documents), section (one section by section_id, with its subsections), blocks (the document as ordered blocks with block_id, section_id, kind, text, a table as rows of cells and a visual as its visual_id; use it to edit one paragraph or table, and to keep tables and visuals in their places), raw (stored content, long strings capped), visuals (every saved chart, table and card with its stored data, marked [chart V1: ...] in the text, and the saved Visual Story; show these, never a redrawn chart in their place), or since (no body: the item's linked companies, the day it was written, each company's share price change and the periods it has reported since; read the text too before comparing). section_id: For view=section, from the manifest. cursor: next_cursor of the previous page. max_chars: Page size, 2000-50000 (default 12000). company: For view=since: the company (name or ticker) when the item is not linked to one, or to pick one of its linked companies. render: For view=visuals: also return Clarifo's own PNG of each saved chart (drawn by Clarifo from the stored data; with rendered[].renderer "clarifo_chart" the look is Clarifo's chart style, not the editor's) and Visual Story card. Show these images when the user asks to see the document's visuals, and say Clarifo drew them from the saved data. At most 6 images per read; a visual with left_out "image_budget" did not fit: say so and point to editor_url.
Returns: {"item_id", "workspace_id", "workspace_name", "type", "title", "origin", "content_version", "editor_url", "quality", "text", "source_refs": [{"ref": 1, "page": 3, "url": "https://..."}], "is_complete", "has_more", "next_cursor"}
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": {
"item_id": "<item_id>"
},
"name": "get_workspace_item"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| view | No | full | |
| cursor | No | ||
| render | No | ||
| company | No | ||
| item_id | Yes | ||
| max_chars | No | ||
| section_id | No | ||
| workspace_id | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||