work_episode_chain
Walk an episode’s amendment chain in one call. prev_id links each episode to the caller’s previous one, and following it hop by hop cost one round trip per link. Returns the chain newest-first starting at id. The work-memory reader contract applies at every hop, not just the first: tombstoned rows never surface, expired rows are excluded, and the walk stays inside the calling principal unless any_caller (admin:workspace, P1.7). The walk STOPS at the first hop that fails those filters rather than skipping over it — a gap in a returned chain would itself disclose that a hidden episode exists. response_format=concise returns each episode as work_episodes does; truncated is always kept.
| Domain | knowledge |
| Scopes | read:workspace |
| Access | read |
| Tags | read-only, domain:knowledge, experiential |
| Profile | core, full |
Annotations
Section titled “Annotations”| Annotation | Value |
|---|---|
| Read-only | yes |
| Destructive | no |
| Idempotent | no |
| Accepts an idempotency key | no |
Idempotent is the advisory MCP idempotentHint. Destructive is also yes for a tool that
asks for confirmation only on some calls.
Confirmation (human in the loop)
Section titled “Confirmation (human in the loop)”No human confirmation is required to call this tool.
| Parameter | Type | Required | Default | Description |
|---|---|---|---|---|
id |
string |
yes | — | length ≥ 1 |
k |
integer |
50 |
range 1–200 | |
any_caller |
boolean |
false |
— | |
response_format |
enum |
— | concise returns only the high-signal fields; detailed (the shipped default) returns the full payload. Errors and safety warnings are never trimmed. When omitted, the server’s tools.defaults.responseFormat applies. One of: "concise", "detailed" |
|
verbosity |
enum |
— | Legacy alias for response_format: terse = concise, full = detailed. One of: "full", "terse" |
Output
Section titled “Output”| Field | Type | Always present | Description |
|---|---|---|---|
available |
boolean |
yes | — |
message |
string |
— | |
chain |
object[] |
— | |
chain[].id |
string |
with parent | — |
chain[].ts |
number |
with parent | — |
chain[].vault |
string | null |
— | |
chain[].session_id |
string | null |
— | |
chain[].caller |
string | null |
— | |
chain[].channel |
string |
— | |
chain[].episode_type |
string |
— | |
chain[].task_result |
number | null |
— | |
chain[].verdict_at |
number | null |
— | |
chain[].tool |
string | null |
— | |
chain[].status |
string |
with parent | — |
chain[].error_code |
string | null |
— | |
chain[].duration_ms |
number | null |
— | |
chain[].result_size |
number | null |
— | |
chain[].summary |
string | null |
— | |
chain[].tags |
string[] |
— | |
chain[].trust |
number | null |
— | |
chain[].eligibility |
string |
with parent | — |
chain[].blocked |
boolean |
— | |
chain[].prev_id |
string | null |
— | |
truncated |
boolean |
— |
Related tools
Section titled “Related tools”Other tools in the knowledge domain: add_observation, audit_provenance, close_goal, commit_capture, commit_wiki_page, create_entity, delete_entity, diagnose_retrieval, draft_wiki_page, end_session, enqueue_capture, episode_stats, explain_answer, find_existing_page, gap_report, get_entity, get_session_traces, knowledge_challenge, link_entities, lint_wiki, list_capture_queue, list_contradictions, list_goals, note_quality_report, plur_get, plur_recall, plur_recall_hybrid, plur_similarity_search, query_entity_graph, record_retrieval_feedback, reflect, rename_entity, session_bootstrap, set_goal, start_session, unlink_entities, update_observation, vault_context, vault_graph_search, work_episodes, work_forget, work_result, work_search.
Back to the tool catalog.