Automation
Permissions and Presets
Choose task-specific access without giving agents blanket control of the workspace.
Delegate a Task, Not the Whole Account
Keys belong to one workspace and the owner who created them. Expiration, revocation, owner removal, scope checks, and workspace record validation are enforced server-side. Keys cannot administer themselves or other users. Never share one key broadly when distinct limited keys are possible.
Choose a Starting Preset
Presets are editable scope selections, not role overrides. The current generated reference lists their exact scopes. Removing a permission removes dependent tools from discovery; it does not grant an alternate route to the same action.
- Read-only analyst: inventory, receipts, and reports, with no writes.
- Receipt clerk: product/supplier lookup, receipt processing, and purchase receiving.
- Operations assistant: stock movement/pricing, machine configuration/placement, contact updates, reporting, and audit reads. No finance or deletion by default.
- Bookkeeper: reporting, receipt metadata, mileage, sales reads, platform payouts (income:read, income:write), read-only platform access for payout checks, audit reads, and explicit financial configuration. Review its scopes before issuing it.
- Sales importer: product/machine lookup, sales reads and writes, and reports, for turning vendor sales reports into recorded sales.
- Vending platform sync: read-only access to connected platforms and Nayax, Coil's vending platform sync (platforms:sync), sales import, stock movement, and stock removal (including shrink), for keeping Coil in step with each connected platform and auditing card sales against Nayax. Changing VTM prices needs platforms:prices, which no preset includes.
Important Permission Boundaries
Tools with nested actions may require additional scopes: receipt purchase items require inventory:receive, and embedded new products require products:write. Static discovery scopes are a minimum, not permission to perform every possible nested input.
- inventory:receive creates purchase lots/units. inventory:move relocates existing stock. inventory:price changes existing unit list prices.
- machines:write changes configuration/targets. machines:place handles reviewed relocation.
- locations:write edits contact details. finance:configure changes commission/card-fee settings and is also required when creating a location with commission fields.
- receipts:delete is separate from receipt processing and preserves linked inventory.
- sales:write previews, applies, and undoes sales imports, matches sales to stock, marks test vends, and manages vendor mappings. sales:read lists imports, recorded sales, mappings, and the workspace sales settings.
- platforms:read only reads connected platforms and sync history. platforms:sync runs Coil's vending platform sync for each connected platform, which records sales and moves warehouse stock into machines. platforms:prices changes VTM selling prices, the only change Coil makes in a vending platform.
- audit:read and reports:read reveal operational records/calculations but cannot change them.
Edit an Existing Key
Only workspace owners can edit permissions. The secret, name, expiry, and activity history do not change. Newly authenticated requests use the saved scopes; already-running requests may finish. Expired/revoked keys cannot be edited or reactivated. A stale editor is rejected so two owners cannot silently overwrite each other's permission changes.
- In Settings > Agent Access, select the pencil action on an active key.
- Review its permissions, choose a preset or adjust checkboxes, and select Save permissions. At least one current permission is required.
- Keep the same secret configured in the agent. Refresh/reconnect the MCP client to update its displayed tools.
Existing Keys and Contract Changes
Existing keys never gain new scopes automatically. The pre-v1 inventory:write scope was retired without an alias; edit an active key and explicitly select inventory:receive when needed. Product updates require expectedUpdatedAt, and existing-unit pricing requires preview/apply. Refresh client schemas after deployment rather than relying on cached arguments.