Skip to content

set_goal

Record a STATED goal for a vault — what the user is trying to accomplish, as distinct from a learned preference (a preference is ‘you tend to X’ and never resolves; a goal is ‘you intend to X’ and ends in completed/abandoned/expired). Goals are stated by the user and never inferred: nothing in the reflect/extract path can write one. An optional target_date lets the expiry sweep mark it ‘expired’ rather than leaving stale intent to bias later reads.

Domain knowledge
Scopes write:workspace
Access write
Tags writes, domain:knowledge, experiential
Profile core, full
Annotation Value
Read-only no
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.

No human confirmation is required to call this tool.

Parameter Type Required Default Description
vault string — Vault id. May be omitted when only one vault is available. length 1–64; pattern ^[a-z0-9_-]+$
text string yes — length 1–2000
target_date integer — range ≥ 1
Field Type Always present Description
available boolean yes —
message string —
id string —
vault string —
text string —
status string —
created_at number —
target_date number | null —
redactions integer range ≥ 0

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, start_session, unlink_entities, update_observation, vault_context, vault_graph_search, work_episode_chain, work_episodes, work_forget, work_result, work_search.

Back to the tool catalog.