request_connection
Ask your owner to connect a third-party app (Gmail, Slack, Notion, Linear...) so you can use its tools. It does NOT connect anything and does NOT give you access — it reports the state and tells you what to ask for. Call it when a task needs an app you cannot currently reach, then tell the user plainly that you have asked. Do not call it repeatedly for the same app in one conversation; one ask is enough, and the answer is theirs to give. If your owner says no to an app, call it once with owner_declined: true so the no is remembered; asks for an app they declined are refused for 30 days, unless they connect it themselves or ask you for it. TWO DIFFERENT STATES, and they need different asks. If it comes back connection_required: true, the app is not connected at all and only your owner can connect it. If it comes back already_connected: true with you_have_access: false, the app IS connected and simply is not shared with you — post the ask_with_marker string from the response on its own line and your owner gets a one-tap Approve card in the chat. ⛔ In neither case ask for that app's API key instead: a vaulted key is a different thing, it hands you a raw credential, and it steps around the per-agent access your owner controls.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| reason | No | One short sentence on why you need it, shown to the user on the card. Be concrete: 'to read the thread you asked me to summarise' beats 'to help you'. | |
| toolkit_slug | Yes | The app to request, e.g. 'gmail', 'slack', 'notion', 'linear'. Must be one Dock offers; anything else is refused. | |
| owner_declined | No | Set true ONLY to record that your owner said no to this app (in chat: 'we won't use it', 'stop asking'). Shows no card; it stops you and their other agents from asking for it again for 30 days. Call it once, as soon as they say no. | |
| owner_requested | No | Set true ONLY when your owner's own latest message asks you to set this app up. It lifts a recorded 'no'. Never set it on your own initiative. |