Read a task, document, card, or table
workspace_readRead a task or document from a local Tisty workspace and return outlines, line slices, link graphs, tables, version history, or Markdown export for context retrieval.
Instructions
Read one task or doc (not both). Docs >12,000 chars (task pages >4,000) return an outline first; pass section, from/to, or chars for slices. Use view for cards/outlines, link graphs, highlights, tables, version history, or Markdown export.
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": "workspace_read"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| to | No | 1-based end line (defaults to EOF; requires `from`) | |
| doc | No | Document ID or task-page filename (from workspace_search) | |
| from | No | 1-based start line for doc `content` | |
| task | No | Task ID | |
| view | No | What to return (default "content"); "card" gives outline+print+links | |
| chars | No | Char budget per chunk; returns `next` cursor | |
| limit | No | For `view="links"`: max neighbours (default 50, max 100) | |
| links | No | Edge filter for `view="links"` (default "all") | |
| notes | No | For `task`: latest journal notes count (clipped 4000 chars); 0 returns all whole | |
| No | Version fingerprint; returns `unchanged: true` if unmodified | ||
| table | No | 1-based table index or heading above it (omit if single table) | |
| cursor | No | Next line cursor from prior chunked read (requires `print`) | |
| fields | No | For `task`: subset of keys to return (`id` always included) | |
| section | No | 0-based heading index (`at` from card) for `content` slice or sub-outline | |
| version | No | Past version ID from `view="versions"` to read in place of current body |