add_account
Store an Instagram Business or Creator account with a label, access token, and user ID for use by other tools. Optionally set it as default and add app secret for enhanced security.
Instructions
Store an Instagram Business/Creator account for use by every tool.
label a short key you choose (e.g. "onde", "mycelium", "client-acme")
access_token a long-lived Instagram Graph API token (stored in the OS keychain)
ig_user_id the Instagram Business Account id (numeric)
app_secret optional Meta app secret — enables appsecret_proof call hardening
make_default set true to make this the account used when account is omitted
The token is written to the macOS keychain (or a chmod-600 file fallback) and is NEVER echoed back or logged.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| label | Yes | ||
| app_secret | No | ||
| ig_user_id | Yes | ||
| access_token | Yes | ||
| make_default | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||