Create workspace-scoped Standard Declaration
create_standard_declaration_workspaceAuthors one sealed declaration that is true in shared workspace reality and names no chart. Choose account_identity, parties, party_profiles, workspace_correction, or source_assessment and state the accountable assertion in ordinary language. One account_identity identifies one account; one parties declaration may assert a set of parties with aliases — canonical partyType values are individual, business, trust, nonprofit, government, or unknown. Parties support name, partyType and aliases only: email, addresses belong in a separate party_profiles declaration. Profile declarations preserve contacts, addresses and scoped roles without changing who a party is or posting money. source_assessment records non-posting discrepancies or acknowledgments; prefer its exact document arm with the original finding and a reason. The document arm performs no model call and seals the validated document without rewriting it. The result is validated with the exact parser register uses.
When the description is genuinely ambiguous the result is clarification_needed with one specific question — answer it and call again. Nothing changes the books; review the returned document and register it when ready as an inline item, then submit it (this door returns the sealed document by value; create_standard_chart returns a handle). Advisory filename .declaration.json. Model-backed and metered.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| author | No | Accountable author of the declaration. Defaults to 'user'. | |
| document | No | The document arm: a complete declaration JSON document of the named kind (what get_declaration or open_standard_document returns, or a reviewed hand-authored body) to validate and seal exactly as given. No model call; llm_called is false. Exclusive with description. | |
| approved_by | No | Optional approver; defaults to the author. | |
| declaration | Yes | Which kind to write. | |
| description | No | What the declaration should say, in your own words. | |
| workspace_tag | Yes | Active workspace id (the workspace_tag create_workspace and list_workspaces return). |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| engine | Yes | Stamped engine build/version identity for the tool result. | |
| status | Yes | declaration_created, or clarification_needed when the request was ambiguous and the model asked instead of guessing. | |
| file_name | No | Suggested file name for keeping the document durably. Absent on clarification_needed. | |
| llm_called | No | True when a model authored it (one metered pass); false when the document arm sealed the caller's own document. | |
| declaration | No | The declaration document to review, keep, and submit. Absent on clarification_needed. | |
| next_action | Yes | How to admit the document, or how to resolve the clarification. | |
| content_hash | No | Canonical content hash — the declaration's durable identity. Absent on clarification_needed. | |
| clarification | No | The one specific question blocking authorship. Present only on clarification_needed; answer it and call again. | |
| declaration_kind | Yes | The kind that was written (or asked about). |