add_account
Store an Instagram Business/Creator account with label, access token, and user ID so that every tool can use it; optionally set it as the default account for requests.
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.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"label": "<label>",
"access_token": "<access_token>",
"ig_user_id": "<ig_user_id>"
},
"name": "add_account"
}
}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 | |||