proposes is where you declare what is true about your integration: which credentials it uses and what each tool does. The host applies these values once your integration is admitted — the human-reviewed admission PR is the review, and a declaration then carries the same standing as a first-party integration’s own.
Basic proposal
credentialModel
'account'— credentials resolve at the account level (typical). Declaring it asserts that no handler reads a personal grant or a session client'user'— credentials or identity are personal to a user'source'— source-level credentials
'account' and 'source'. Personal workflows (they run as the user) admit 'user' and 'account'.
scope
credentialModel) when you declare no connection.levels. A credentialModel: 'user' + scope: 'team' pairing is flagged as unusual, and ekanos validate warns when scope is not one of your declared connection.levels.
Tool classifications
Declare one for every tool:effect—'read'(data fetch) or'write'(modifies state)sensitivity— what kind of data: public, internal, personally identifiable, or financial
effect: 'write' and sensitivity: 'pii'. An undeclared tool is treated as a pii write, which will not run in a team workflow.
Key requirement
Tool names inproposes.tools must match declared tool names exactly (the raw name, not the slug-prefixed one). A proposal for a tool you didn’t declare is a validation error — proposes.tools["<name>"] does not match any declared tool — so a rename cannot leave stale classifications behind.
proposes is the only place these classifications go: credentialModel and per-tool effect/sensitivity declared anywhere else in the definition are rejected as unrecognized keys.
Review
Admission reviews your declarations against your code. Marking a tool that moves money as'read' to get past a gate is a review failure. The host also keeps an overrides file that can only tighten a declaration (read to write, a higher sensitivity, dropping credentialModel), never loosen it, so a declaration can be tightened after admission.
Where your declarations apply
ctx.storage.user still throws for machine actors, so a tool that a team workflow may call cannot depend on user-scoped storage. Partner OAuth tokens remain account-scoped.
Workflow impact
DeclarecredentialModel and classify every tool honestly:
Next steps
- Integration shape — full definition structure
- Tools — declare tools with classifications