Authentication and enablement
No integration. Off by default; enable it on the agent’s tools list. Read-only. The task being read must belong to an agent that has an output schema and task state turned on, with its mappings saved. Otherwise the tool returnsconfigured: false and no state.
Inputs
A hook-started task carries the source task’s id in its source metadata; read it with the
task_metadata tool.
Output
state: the schema’s fields, withnullfor a field nothing has filled yet, and every table row carrying every column. It isnullwhenconfiguredis false.state_enabled: whether task state is turned on for the deployment.configured: whether the task’s agent has an output schema and task state turned on.unmapped_tools: tools that ran in the task but have no saved mapping, so their output is not instateyet. Map them in the agent’s State settings.statusandtitleare the task’s own, so a summary can say whether the task is still running, paused or finished.
Limits and side effects
- No side effects. The state is read with the saved mappings only: the tool never generates a mapping and never calls a model, so the same task reads the same way every time.
- Same workspace only. A task in another workspace returns the same error as a task that does not exist.
- Files a task produced are not part of the state; only the fields the schema defines are.
Expected errors
task <id> not found: no task with that id in this workspace.task_id must be a task UUID: the input is not a UUID (for example a journal entry number).no workspace in context: called outside a running task.task state is unavailable: misconfigured deployment.