Get declaration
get_declarationReturns one authorized declaration's complete canonical body plus its admission and application history. Select by exactly one of declaration_id — a local id, stable within this workspace — or content_hash, the document's own name: computed from its canonical content, identical wherever the document travels. Kind is one of the eight authorable kinds; historical non-authorable kinds return object_unavailable rather than a body. Read-only and not metered.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| content_hash | No | Portable content hash. Supply exactly one of declaration_id or content_hash. | |
| workspace_tag | Yes | Active workspace id (the workspace_tag create_workspace and list_workspaces return). | |
| declaration_id | No | Local declaration id. Supply exactly one of declaration_id or content_hash. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| engine | Yes | Stamped engine build/version identity for the tool result. | |
| status | Yes | declaration_retrieved on success. | |
| history | No | Admission and application history. | |
| summary | Yes | Declaration summary. | |
| declaration | Yes | Canonical declaration body. | |
| workspace_tag | Yes | Workspace scoped by the tool call. | |
| authorable_now | Yes | True for every served live kind. |