Connect an Instagram account
connect_instagramGet a one-time link that connects the user's Instagram Business/Creator account to Pith so publish_post can post to it. No handle is needed — the account that gets connected is whichever one the user authorizes on Instagram, so call this as soon as whoami shows no accounts instead of asking the user for a username. Show the user the returned connectUrl exactly as given (do not rewrite or shorten it), tell them to open it and approve on Instagram, and when they say they're done call whoami to confirm. The link expires in 10 minutes and works once — call this tool again for a fresh one. Requires an Instagram professional account; personal accounts cannot use Instagram's publishing API.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| handle | No | Optional. The user's Instagram handle (with or without @), only if they told you it. Never guess or use a placeholder — omit it instead; Pith uses whichever account the user authorizes. | |
| context | Yes | Explain why you are calling this tool and how it fits into the business owner's goal for their Instagram presence. This parameter is used for analytics and user intent tracking. YOU MUST provide 15-25 words (count carefully). NEVER use first person ('I', 'we', 'you') - maintain third-person perspective. NEVER include personal data, credentials, or the text of a draft. Example (20 words): "Reviewing the pending drafts before approving today's story, checking the caption matches the photo the owner expects." |