MCP tool
Start Meta OAuth
sosoapi_start_meta_oauthGet the provider authorize_url a human must open to connect a Facebook Page, or Instagram through Facebook (connection_intent). Pass workspace_id. Nothing is connected until they approve and confirm in the browser.
Read as MarkdownProfiles and transports
Profiles: full · Transports: stdio, http
Choose core or full to control which tools your client sees; this does not change its permissions. Local file upload requires stdio and is unavailable over HTTP. Set SOSOAPI_OUTPUT_SCHEMAS=1 to include output schemas in discovery. Tools return structured results with or without that setting.
Permissions and side effects
Annotations help clients describe a tool. Each call still checks the user’s authentication, role, resource access and capability grants.
{
"readOnlyHint": false,
"destructiveHint": false,
"idempotentHint": false,
"openWorldHint": true
}- /oauth-api/meta/init: agent:operate · synchronous_http_response
Input fields
Required means required inside its parent object and selected branch. A required child does not make an optional parent required. Rules and field names below are copied from the contract.
| Field / branch | Type / required | Constraints |
|---|---|---|
$ | objectRequired in parent |
|
redirect_to | stringOptional / item |
|
workspace_id | stringOptional / item |
|
expected_platform_user_id | stringOptional / item |
|
connection_intent | stringOptional / item |
|
interaction_mode | stringOptional / item |
|
Complete JSON Schema
{
"type": "object",
"properties": {
"redirect_to": {
"type": "string",
"format": "uri"
},
"workspace_id": {
"type": "string",
"format": "uuid"
},
"expected_platform_user_id": {
"type": "string",
"minLength": 1
},
"connection_intent": {
"type": "string",
"enum": [
"facebook",
"instagram_via_facebook"
]
},
"interaction_mode": {
"type": "string",
"enum": [
"connect",
"request_scopes",
"switch_account",
"recover"
]
}
},
"additionalProperties": false
}Structured output
This schema describes structuredContent in a successful tool result. The MCP response also includes content and may set isError when a call fails. For publishing, read the post’s final result rather than treating an accepted request or text response as confirmation. The linked API operation explains permissions and retry rules.
Required means required inside its parent object and selected branch. A required child does not make an optional parent required. Rules and field names below are copied from the contract.
| Field / branch | Type / required | Constraints |
|---|---|---|
$ | objectRequired in parent |
|
authorize_url | stringRequired in parent |
|
Complete JSON Schema
{
"type": "object",
"properties": {
"authorize_url": {
"type": "string",
"format": "uri"
}
},
"required": [
"authorize_url"
],
"$schema": "http://json-schema.org/draft-07/schema#",
"additionalProperties": false
}Example tool call
These examples use fictional values checked against the schemas. Replace the IDs with ones you are authorized to use, the media with ready assets and the dates with your confirmed publishing time. Check the account’s eligibility before submitting a write. This page sends no API requests.
{
"name": "sosoapi_start_meta_oauth",
"arguments": {}
}structuredContent
{
"authorize_url": "https://example.com/media.png"
}