Current State
current_stateResolve a state key to a status: current, no_current, not_found, ambiguous, or unresolved_conflict. Retrieve the answer, compact history, and why edges when the key is known.
Instructions
Read-only. Resolve one stable state_key to a JSON object with status=current, no_current, not_found, ambiguous, or unresolved_conflict, plus answer, compact history, and why edges. state_key must be non-blank; project/owner/type/as_of filters narrow the resolution. Use this instead of search when the durable key is known; use timeline for chronological observation context. Invalid input or database failures return a tool error.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| type | No | Memory type filter, e.g. decision or preference. | |
| project | No | Project name filter. Defaults to repo-owned state plus global user state. | |
| owner_key | No | Explicit state-key owner key, e.g. a repo path or user:default. | |
| state_key | Yes | Stable state key, such as a durable topic key. | |
| as_of_epoch | No | Resolve the state that applied at this Unix epoch. | |
| owner_scope | No | Explicit state-key owner scope, e.g. repo or user. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| why | No | ||
| facts | No | ||
| state | No | ||
| status | Yes | ||
| current | No | ||
| history | No | ||
| matches | No | ||
| conflicts | No | ||
| state_key | Yes | ||
| as_of_epoch | No |