{
  "schemaVersion": 1,
  "package": "sosoapi",
  "packageVersion": "0.5.9",
  "profile": "core",
  "fullToolCount": 106,
  "hostedFullToolCount": 105,
  "coreToolCount": 28,
  "hostedCoreToolCount": 27,
  "source": "Real MCP server tools/list; route authority from the canonical capability catalog",
  "tools": [
    {
      "name": "sosoapi_bulk_create_scheduled_posts",
      "title": "Bulk create scheduled posts",
      "description": "Schedule posts for several accounts in one call (targets). Media needs ready uploaded/imported asset_ids and their canonical URLs. Each target succeeds or fails on its own and is reported in successes or failures. Needs the publish capability.",
      "inputSchema": {
        "type": "object",
        "properties": {
          "workspace_id": {
            "type": "string",
            "format": "uuid",
            "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
          },
          "project_id": {
            "anyOf": [
              {
                "type": "string",
                "format": "uuid",
                "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
              },
              {
                "type": "null"
              }
            ]
          },
          "source_ref": {
            "anyOf": [
              {
                "type": "object",
                "propertyNames": {
                  "type": "string"
                },
                "additionalProperties": {}
              },
              {
                "type": "null"
              }
            ]
          },
          "targets": {
            "minItems": 1,
            "maxItems": 50,
            "type": "array",
            "items": {
              "type": "object",
              "properties": {
                "social_account_id": {
                  "type": "string",
                  "format": "uuid",
                  "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
                },
                "caption": {
                  "default": null,
                  "anyOf": [
                    {
                      "type": "string",
                      "maxLength": 5000
                    },
                    {
                      "type": "null"
                    }
                  ]
                },
                "hashtags": {
                  "default": [],
                  "maxItems": 100,
                  "type": "array",
                  "items": {
                    "type": "string",
                    "maxLength": 100
                  }
                },
                "media": {
                  "default": [],
                  "maxItems": 20,
                  "type": "array",
                  "items": {
                    "type": "object",
                    "properties": {
                      "kind": {
                        "type": "string",
                        "enum": ["image", "video"]
                      },
                      "url": {
                        "type": "string",
                        "format": "uri"
                      },
                      "cover_url": {
                        "anyOf": [
                          {
                            "type": "string",
                            "format": "uri"
                          },
                          {
                            "type": "null"
                          }
                        ]
                      },
                      "cover_asset_id": {
                        "anyOf": [
                          {
                            "type": "integer",
                            "exclusiveMinimum": 0,
                            "maximum": 9007199254740991
                          },
                          {
                            "type": "null"
                          }
                        ]
                      },
                      "asset_id": {
                        "anyOf": [
                          {
                            "type": "integer",
                            "exclusiveMinimum": 0,
                            "maximum": 9007199254740991
                          },
                          {
                            "type": "null"
                          }
                        ]
                      },
                      "mime_type": {
                        "anyOf": [
                          {
                            "type": "string",
                            "minLength": 1,
                            "maxLength": 160
                          },
                          {
                            "type": "null"
                          }
                        ]
                      }
                    },
                    "required": ["kind", "url"],
                    "additionalProperties": false
                  }
                },
                "link_url": {
                  "anyOf": [
                    {
                      "type": "string",
                      "format": "uri"
                    },
                    {
                      "type": "null"
                    }
                  ]
                },
                "provider_payload": {
                  "oneOf": [
                    {
                      "type": "object",
                      "properties": {
                        "platform": {
                          "type": "string",
                          "const": "x"
                        },
                        "publish_options": {
                          "type": "object",
                          "properties": {
                            "post_type": {
                              "type": "string",
                              "const": "TEXT"
                            }
                          },
                          "required": ["post_type"],
                          "additionalProperties": false
                        }
                      },
                      "required": ["platform", "publish_options"],
                      "additionalProperties": false
                    },
                    {
                      "type": "object",
                      "properties": {
                        "platform": {
                          "type": "string",
                          "const": "instagram"
                        },
                        "publish_options": {
                          "type": "object",
                          "properties": {
                            "post_type": {
                              "type": "string",
                              "enum": [
                                "IMAGE",
                                "VIDEO",
                                "CAROUSEL",
                                "REELS",
                                "STORY_IMAGE",
                                "STORY_VIDEO"
                              ]
                            },
                            "location_id": {
                              "type": "string",
                              "minLength": 1,
                              "maxLength": 256
                            },
                            "share_to_feed": {
                              "type": "boolean"
                            },
                            "collaborators": {
                              "maxItems": 3,
                              "type": "array",
                              "items": {
                                "type": "string",
                                "minLength": 1,
                                "maxLength": 30
                              }
                            },
                            "first_comment": {
                              "type": "string",
                              "minLength": 1,
                              "maxLength": 2200
                            },
                            "cover_asset_id": {
                              "type": "integer",
                              "exclusiveMinimum": 0,
                              "maximum": 9007199254740991
                            },
                            "thumb_offset_ms": {
                              "type": "integer",
                              "minimum": 0,
                              "maximum": 9007199254740991
                            },
                            "audio_name": {
                              "type": "string",
                              "minLength": 1,
                              "maxLength": 100
                            },
                            "trial_params": {
                              "type": "object",
                              "properties": {
                                "graduation_strategy": {
                                  "type": "string",
                                  "enum": ["MANUAL", "SS_PERFORMANCE"]
                                }
                              },
                              "required": ["graduation_strategy"],
                              "additionalProperties": false
                            },
                            "is_ai_generated": {
                              "type": "boolean"
                            },
                            "branded_content_sponsor_ids": {
                              "maxItems": 2,
                              "type": "array",
                              "items": {
                                "type": "string",
                                "minLength": 1,
                                "maxLength": 256
                              }
                            },
                            "is_paid_partnership": {
                              "type": "boolean"
                            },
                            "media_options": {
                              "maxItems": 10,
                              "type": "array",
                              "items": {
                                "type": "object",
                                "properties": {
                                  "asset_id": {
                                    "type": "integer",
                                    "exclusiveMinimum": 0,
                                    "maximum": 9007199254740991
                                  },
                                  "alt_text": {
                                    "type": "string",
                                    "minLength": 1,
                                    "maxLength": 1000
                                  },
                                  "user_tags": {
                                    "maxItems": 20,
                                    "type": "array",
                                    "items": {
                                      "type": "object",
                                      "properties": {
                                        "username": {
                                          "type": "string",
                                          "minLength": 1,
                                          "maxLength": 30
                                        },
                                        "x": {
                                          "type": "number",
                                          "minimum": 0,
                                          "maximum": 1
                                        },
                                        "y": {
                                          "type": "number",
                                          "minimum": 0,
                                          "maximum": 1
                                        }
                                      },
                                      "required": ["username"],
                                      "additionalProperties": false
                                    }
                                  },
                                  "product_tags": {
                                    "maxItems": 5,
                                    "type": "array",
                                    "items": {
                                      "type": "object",
                                      "properties": {
                                        "product_id": {
                                          "type": "string",
                                          "minLength": 1,
                                          "maxLength": 256
                                        },
                                        "x": {
                                          "type": "number",
                                          "minimum": 0,
                                          "maximum": 1
                                        },
                                        "y": {
                                          "type": "number",
                                          "minimum": 0,
                                          "maximum": 1
                                        }
                                      },
                                      "required": ["product_id"],
                                      "additionalProperties": false
                                    }
                                  },
                                  "thumb_offset_ms": {
                                    "type": "integer",
                                    "minimum": 0,
                                    "maximum": 9007199254740991
                                  }
                                },
                                "required": ["asset_id"],
                                "additionalProperties": false
                              }
                            }
                          },
                          "required": ["post_type"],
                          "additionalProperties": false
                        }
                      },
                      "required": ["platform", "publish_options"],
                      "additionalProperties": false
                    },
                    {
                      "type": "object",
                      "properties": {
                        "platform": {
                          "type": "string",
                          "const": "facebook"
                        },
                        "publish_options": {
                          "type": "object",
                          "properties": {
                            "post_type": {
                              "type": "string",
                              "enum": [
                                "TEXT",
                                "LINK",
                                "IMAGE",
                                "MULTI_IMAGE",
                                "VIDEO",
                                "REELS",
                                "STORY_IMAGE",
                                "STORY_VIDEO"
                              ]
                            },
                            "title": {
                              "type": "string",
                              "maxLength": 255
                            },
                            "description": {
                              "type": "string",
                              "maxLength": 5000
                            },
                            "publication_mode": {
                              "type": "string",
                              "enum": ["PUBLISH", "DRAFT"]
                            },
                            "backdated_time": {
                              "type": "number"
                            },
                            "backdated_time_granularity": {
                              "type": "string",
                              "enum": ["year", "month", "day", "hour", "minute"]
                            },
                            "place": {
                              "type": "string",
                              "minLength": 1,
                              "maxLength": 256
                            },
                            "tags": {
                              "maxItems": 50,
                              "type": "array",
                              "items": {
                                "type": "string",
                                "minLength": 1,
                                "maxLength": 256
                              }
                            },
                            "feed_targeting": {
                              "type": "object",
                              "properties": {
                                "age_min": {
                                  "type": "integer",
                                  "minimum": 13,
                                  "maximum": 65
                                },
                                "age_max": {
                                  "type": "integer",
                                  "minimum": 13,
                                  "maximum": 65
                                },
                                "college_years": {
                                  "maxItems": 100,
                                  "type": "array",
                                  "items": {
                                    "type": "integer",
                                    "minimum": 1900,
                                    "maximum": 2200
                                  }
                                },
                                "education_statuses": {
                                  "maxItems": 3,
                                  "type": "array",
                                  "items": {
                                    "anyOf": [
                                      {
                                        "type": "number",
                                        "const": 1
                                      },
                                      {
                                        "type": "number",
                                        "const": 2
                                      },
                                      {
                                        "type": "number",
                                        "const": 3
                                      }
                                    ]
                                  }
                                },
                                "genders": {
                                  "maxItems": 2,
                                  "type": "array",
                                  "items": {
                                    "anyOf": [
                                      {
                                        "type": "number",
                                        "const": 1
                                      },
                                      {
                                        "type": "number",
                                        "const": 2
                                      }
                                    ]
                                  }
                                },
                                "geo_locations": {
                                  "type": "object",
                                  "properties": {
                                    "countries": {
                                      "minItems": 1,
                                      "maxItems": 25,
                                      "type": "array",
                                      "items": {
                                        "type": "string",
                                        "pattern": "^[A-Z]{2}$"
                                      }
                                    },
                                    "regions": {
                                      "minItems": 1,
                                      "maxItems": 250,
                                      "type": "array",
                                      "items": {
                                        "type": "object",
                                        "properties": {
                                          "key": {
                                            "anyOf": [
                                              {
                                                "type": "string",
                                                "minLength": 1,
                                                "maxLength": 256
                                              },
                                              {
                                                "type": "integer",
                                                "minimum": 0,
                                                "maximum": 9007199254740991
                                              }
                                            ]
                                          }
                                        },
                                        "required": ["key"],
                                        "additionalProperties": false
                                      }
                                    },
                                    "cities": {
                                      "minItems": 1,
                                      "maxItems": 250,
                                      "type": "array",
                                      "items": {
                                        "type": "object",
                                        "properties": {
                                          "key": {
                                            "anyOf": [
                                              {
                                                "type": "string",
                                                "minLength": 1,
                                                "maxLength": 256
                                              },
                                              {
                                                "type": "integer",
                                                "minimum": 0,
                                                "maximum": 9007199254740991
                                              }
                                            ]
                                          },
                                          "radius": {
                                            "type": "number",
                                            "exclusiveMinimum": 0,
                                            "maximum": 1000
                                          },
                                          "distance_unit": {
                                            "type": "string",
                                            "enum": ["mile", "kilometer"]
                                          }
                                        },
                                        "required": ["key"],
                                        "additionalProperties": false
                                      }
                                    },
                                    "zips": {
                                      "minItems": 1,
                                      "maxItems": 250,
                                      "type": "array",
                                      "items": {
                                        "type": "object",
                                        "properties": {
                                          "key": {
                                            "anyOf": [
                                              {
                                                "type": "string",
                                                "minLength": 1,
                                                "maxLength": 256
                                              },
                                              {
                                                "type": "integer",
                                                "minimum": 0,
                                                "maximum": 9007199254740991
                                              }
                                            ]
                                          }
                                        },
                                        "required": ["key"],
                                        "additionalProperties": false
                                      }
                                    },
                                    "location_types": {
                                      "minItems": 1,
                                      "maxItems": 2,
                                      "type": "array",
                                      "items": {
                                        "type": "string",
                                        "enum": ["home", "recent"]
                                      }
                                    }
                                  },
                                  "additionalProperties": false
                                },
                                "interests": {
                                  "maxItems": 250,
                                  "type": "array",
                                  "items": {
                                    "anyOf": [
                                      {
                                        "type": "string",
                                        "minLength": 1,
                                        "maxLength": 256
                                      },
                                      {
                                        "type": "integer",
                                        "minimum": 0,
                                        "maximum": 9007199254740991
                                      }
                                    ]
                                  }
                                },
                                "locales": {
                                  "maxItems": 250,
                                  "type": "array",
                                  "items": {
                                    "type": "integer",
                                    "minimum": 0,
                                    "maximum": 9007199254740991
                                  }
                                },
                                "relationship_statuses": {
                                  "maxItems": 4,
                                  "type": "array",
                                  "items": {
                                    "anyOf": [
                                      {
                                        "type": "number",
                                        "const": 1
                                      },
                                      {
                                        "type": "number",
                                        "const": 2
                                      },
                                      {
                                        "type": "number",
                                        "const": 3
                                      },
                                      {
                                        "type": "number",
                                        "const": 4
                                      }
                                    ]
                                  }
                                }
                              },
                              "additionalProperties": false
                            },
                            "targeting": {
                              "type": "object",
                              "properties": {
                                "age_min": {
                                  "anyOf": [
                                    {
                                      "type": "number",
                                      "const": 13
                                    },
                                    {
                                      "type": "number",
                                      "const": 15
                                    },
                                    {
                                      "type": "number",
                                      "const": 18
                                    },
                                    {
                                      "type": "number",
                                      "const": 21
                                    },
                                    {
                                      "type": "number",
                                      "const": 25
                                    }
                                  ]
                                },
                                "geo_locations": {
                                  "type": "object",
                                  "properties": {
                                    "countries": {
                                      "minItems": 1,
                                      "maxItems": 25,
                                      "type": "array",
                                      "items": {
                                        "type": "string",
                                        "pattern": "^[A-Z]{2}$"
                                      }
                                    },
                                    "regions": {
                                      "minItems": 1,
                                      "maxItems": 250,
                                      "type": "array",
                                      "items": {
                                        "type": "object",
                                        "properties": {
                                          "key": {
                                            "anyOf": [
                                              {
                                                "type": "string",
                                                "minLength": 1,
                                                "maxLength": 256
                                              },
                                              {
                                                "type": "integer",
                                                "minimum": 0,
                                                "maximum": 9007199254740991
                                              }
                                            ]
                                          }
                                        },
                                        "required": ["key"],
                                        "additionalProperties": false
                                      }
                                    },
                                    "cities": {
                                      "minItems": 1,
                                      "maxItems": 250,
                                      "type": "array",
                                      "items": {
                                        "type": "object",
                                        "properties": {
                                          "key": {
                                            "anyOf": [
                                              {
                                                "type": "string",
                                                "minLength": 1,
                                                "maxLength": 256
                                              },
                                              {
                                                "type": "integer",
                                                "minimum": 0,
                                                "maximum": 9007199254740991
                                              }
                                            ]
                                          },
                                          "radius": {
                                            "type": "number",
                                            "exclusiveMinimum": 0,
                                            "maximum": 1000
                                          },
                                          "distance_unit": {
                                            "type": "string",
                                            "enum": ["mile", "kilometer"]
                                          }
                                        },
                                        "required": ["key"],
                                        "additionalProperties": false
                                      }
                                    },
                                    "zips": {
                                      "minItems": 1,
                                      "maxItems": 250,
                                      "type": "array",
                                      "items": {
                                        "type": "object",
                                        "properties": {
                                          "key": {
                                            "anyOf": [
                                              {
                                                "type": "string",
                                                "minLength": 1,
                                                "maxLength": 256
                                              },
                                              {
                                                "type": "integer",
                                                "minimum": 0,
                                                "maximum": 9007199254740991
                                              }
                                            ]
                                          }
                                        },
                                        "required": ["key"],
                                        "additionalProperties": false
                                      }
                                    },
                                    "location_types": {
                                      "minItems": 1,
                                      "maxItems": 2,
                                      "type": "array",
                                      "items": {
                                        "type": "string",
                                        "enum": ["home", "recent"]
                                      }
                                    }
                                  },
                                  "additionalProperties": false
                                }
                              },
                              "additionalProperties": false
                            },
                            "child_attachments": {
                              "minItems": 2,
                              "maxItems": 10,
                              "type": "array",
                              "items": {
                                "type": "object",
                                "properties": {
                                  "link": {
                                    "type": "string",
                                    "format": "uri"
                                  },
                                  "name": {
                                    "type": "string",
                                    "maxLength": 255
                                  },
                                  "description": {
                                    "type": "string",
                                    "maxLength": 1000
                                  },
                                  "picture": {
                                    "type": "string",
                                    "format": "uri"
                                  }
                                },
                                "required": ["link", "picture"],
                                "additionalProperties": false
                              }
                            },
                            "multi_share_end_card": {
                              "type": "boolean"
                            },
                            "multi_share_optimized": {
                              "type": "boolean"
                            },
                            "unpublished_content_type": {
                              "type": "string",
                              "enum": [
                                "SCHEDULED",
                                "SCHEDULED_RECURRING",
                                "DRAFT",
                                "PUBLISH_PENDING",
                                "ADS_POST",
                                "INLINE_CREATED",
                                "PUBLISHED",
                                "REVIEWABLE_BRANDED_CONTENT"
                              ]
                            },
                            "no_story": {
                              "type": "boolean"
                            },
                            "crossposted_video_id": {
                              "type": "string",
                              "minLength": 1,
                              "maxLength": 256
                            },
                            "spherical": {
                              "type": "boolean"
                            },
                            "media_options": {
                              "maxItems": 20,
                              "type": "array",
                              "items": {
                                "type": "object",
                                "properties": {
                                  "asset_id": {
                                    "type": "integer",
                                    "exclusiveMinimum": 0,
                                    "maximum": 9007199254740991
                                  },
                                  "alt_text_custom": {
                                    "type": "string",
                                    "minLength": 1,
                                    "maxLength": 1000
                                  }
                                },
                                "required": ["asset_id"],
                                "additionalProperties": false
                              }
                            }
                          },
                          "required": ["post_type"],
                          "additionalProperties": false
                        }
                      },
                      "required": ["platform", "publish_options"],
                      "additionalProperties": false
                    },
                    {
                      "type": "object",
                      "properties": {
                        "platform": {
                          "type": "string",
                          "const": "threads"
                        },
                        "publish_options": {
                          "type": "object",
                          "properties": {
                            "post_type": {
                              "type": "string",
                              "enum": ["TEXT", "IMAGE", "VIDEO", "CAROUSEL", "REPOST"]
                            },
                            "reply_to_id": {
                              "type": "string",
                              "minLength": 1,
                              "maxLength": 256
                            },
                            "quote_post_id": {
                              "type": "string",
                              "minLength": 1,
                              "maxLength": 256
                            },
                            "repost_target_id": {
                              "type": "string",
                              "minLength": 1,
                              "maxLength": 256
                            },
                            "reply_control": {
                              "type": "string",
                              "enum": [
                                "everyone",
                                "accounts_you_follow",
                                "mentioned_only",
                                "parent_post_author_only",
                                "followers_only"
                              ]
                            },
                            "enable_reply_approvals": {
                              "type": "boolean"
                            },
                            "link_attachment": {
                              "type": "string",
                              "format": "uri"
                            },
                            "poll_attachment": {
                              "type": "object",
                              "properties": {
                                "option_a": {
                                  "type": "string",
                                  "minLength": 1,
                                  "maxLength": 25
                                },
                                "option_b": {
                                  "type": "string",
                                  "minLength": 1,
                                  "maxLength": 25
                                },
                                "option_c": {
                                  "type": "string",
                                  "minLength": 1,
                                  "maxLength": 25
                                },
                                "option_d": {
                                  "type": "string",
                                  "minLength": 1,
                                  "maxLength": 25
                                }
                              },
                              "required": ["option_a", "option_b"],
                              "additionalProperties": false
                            },
                            "gif_attachment": {
                              "type": "object",
                              "properties": {
                                "gif_id": {
                                  "type": "string",
                                  "minLength": 1,
                                  "maxLength": 256
                                },
                                "provider": {
                                  "type": "string",
                                  "const": "GIPHY"
                                }
                              },
                              "required": ["gif_id", "provider"],
                              "additionalProperties": false
                            },
                            "text_attachment": {
                              "type": "object",
                              "properties": {
                                "plaintext": {
                                  "type": "string",
                                  "minLength": 1,
                                  "maxLength": 10000
                                },
                                "link_attachment_url": {
                                  "type": "string",
                                  "format": "uri"
                                },
                                "text_with_styling_info": {
                                  "maxItems": 100,
                                  "type": "array",
                                  "items": {
                                    "type": "object",
                                    "properties": {
                                      "offset": {
                                        "type": "integer",
                                        "minimum": 0,
                                        "maximum": 9007199254740991
                                      },
                                      "length": {
                                        "type": "integer",
                                        "exclusiveMinimum": 0,
                                        "maximum": 9007199254740991
                                      },
                                      "styling_info": {
                                        "minItems": 1,
                                        "type": "array",
                                        "items": {
                                          "type": "string",
                                          "enum": [
                                            "bold",
                                            "italic",
                                            "highlight",
                                            "underline",
                                            "strikethrough"
                                          ]
                                        }
                                      }
                                    },
                                    "required": ["offset", "length", "styling_info"],
                                    "additionalProperties": false
                                  }
                                }
                              },
                              "required": ["plaintext"],
                              "additionalProperties": false
                            },
                            "topic_tag": {
                              "type": "string",
                              "minLength": 1,
                              "maxLength": 50
                            },
                            "text_entities": {
                              "maxItems": 10,
                              "type": "array",
                              "items": {
                                "type": "object",
                                "properties": {
                                  "entity_type": {
                                    "type": "string",
                                    "enum": ["SPOILER", "spoiler"]
                                  },
                                  "offset": {
                                    "type": "integer",
                                    "minimum": 0,
                                    "maximum": 9007199254740991
                                  },
                                  "length": {
                                    "type": "integer",
                                    "exclusiveMinimum": 0,
                                    "maximum": 9007199254740991
                                  }
                                },
                                "required": ["entity_type", "offset", "length"],
                                "additionalProperties": false
                              }
                            },
                            "is_spoiler_media": {
                              "type": "boolean"
                            },
                            "is_ghost_post": {
                              "type": "boolean"
                            },
                            "location_id": {
                              "type": "string",
                              "minLength": 1,
                              "maxLength": 256
                            },
                            "allowlisted_country_codes": {
                              "minItems": 1,
                              "maxItems": 249,
                              "type": "array",
                              "items": {
                                "type": "string",
                                "pattern": "^[A-Z]{2}$"
                              }
                            },
                            "crossreshare_to_ig": {
                              "type": "boolean"
                            },
                            "crossreshare_to_ig_dark_mode": {
                              "type": "boolean"
                            },
                            "auto_publish_text": {
                              "type": "boolean"
                            },
                            "media_options": {
                              "maxItems": 20,
                              "type": "array",
                              "items": {
                                "type": "object",
                                "properties": {
                                  "asset_id": {
                                    "type": "integer",
                                    "exclusiveMinimum": 0,
                                    "maximum": 9007199254740991
                                  },
                                  "alt_text": {
                                    "type": "string",
                                    "minLength": 1,
                                    "maxLength": 1000
                                  },
                                  "is_spoiler_media": {
                                    "type": "boolean"
                                  }
                                },
                                "required": ["asset_id"],
                                "additionalProperties": false
                              }
                            }
                          },
                          "required": ["post_type"],
                          "additionalProperties": false
                        }
                      },
                      "required": ["platform", "publish_options"],
                      "additionalProperties": false
                    },
                    {
                      "type": "object",
                      "properties": {
                        "platform": {
                          "type": "string",
                          "const": "youtube"
                        },
                        "publish_options": {
                          "type": "object",
                          "properties": {
                            "post_type": {
                              "type": "string",
                              "const": "VIDEO"
                            },
                            "title": {
                              "type": "string",
                              "minLength": 1,
                              "maxLength": 100
                            },
                            "description": {
                              "type": "string",
                              "maxLength": 5000
                            },
                            "tags": {
                              "maxItems": 100,
                              "type": "array",
                              "items": {
                                "type": "string",
                                "minLength": 1,
                                "maxLength": 500
                              }
                            },
                            "category_id": {
                              "anyOf": [
                                {
                                  "type": "string",
                                  "minLength": 0,
                                  "maxLength": 0
                                },
                                {
                                  "type": "string",
                                  "pattern": "^\\d+$"
                                }
                              ]
                            },
                            "default_language": {
                              "type": "string",
                              "minLength": 2,
                              "maxLength": 35
                            },
                            "localizations": {
                              "type": "object",
                              "propertyNames": {
                                "type": "string"
                              },
                              "additionalProperties": {
                                "type": "object",
                                "properties": {
                                  "title": {
                                    "type": "string",
                                    "minLength": 1,
                                    "maxLength": 100
                                  },
                                  "description": {
                                    "type": "string",
                                    "maxLength": 5000
                                  }
                                },
                                "required": ["title", "description"],
                                "additionalProperties": false
                              }
                            },
                            "privacy_status": {
                              "type": "string",
                              "enum": ["private", "unlisted", "public"]
                            },
                            "cancellation_mode": {
                              "type": "string",
                              "enum": ["DELETE", "UNSCHEDULE_KEEP_PRIVATE"]
                            },
                            "license": {
                              "type": "string",
                              "enum": ["youtube", "creativeCommon"]
                            },
                            "embeddable": {
                              "type": "boolean"
                            },
                            "public_stats_viewable": {
                              "type": "boolean"
                            },
                            "self_declared_made_for_kids": {
                              "type": "boolean"
                            },
                            "contains_synthetic_media": {
                              "type": "boolean"
                            },
                            "has_paid_product_placement": {
                              "type": "boolean"
                            },
                            "recording_date": {
                              "type": "string",
                              "format": "date-time",
                              "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d(?::[0-5]\\d(?:\\.\\d+)?)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$"
                            },
                            "notify_subscribers": {
                              "type": "boolean"
                            },
                            "thumbnail_asset_id": {
                              "type": "integer",
                              "exclusiveMinimum": 0,
                              "maximum": 9007199254740991
                            },
                            "surface_expectation": {
                              "type": "string",
                              "const": "SHORT"
                            },
                            "brand_partner": {
                              "type": "object",
                              "properties": {
                                "channel_id": {
                                  "type": "string",
                                  "pattern": "^UC[A-Za-z0-9_-]+$"
                                },
                                "channel_handle": {
                                  "type": "string",
                                  "pattern": "^@[A-Za-z0-9._-]+$"
                                }
                              },
                              "additionalProperties": false
                            }
                          },
                          "required": ["post_type", "title", "privacy_status", "cancellation_mode"],
                          "additionalProperties": false
                        }
                      },
                      "required": ["platform", "publish_options"],
                      "additionalProperties": false
                    }
                  ]
                },
                "scheduled_at": {
                  "type": "string",
                  "format": "date-time",
                  "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d(?::[0-5]\\d(?:\\.\\d+)?)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$"
                },
                "display_timezone": {
                  "default": "UTC",
                  "type": "string",
                  "minLength": 1,
                  "maxLength": 80
                },
                "local_scheduled_at": {
                  "type": "string",
                  "pattern": "^\\d{4}-\\d{2}-\\d{2}T\\d{2}:\\d{2}(?::\\d{2}(?:\\.\\d{1,6})?)?$"
                },
                "schedule_dst_disambiguation": {
                  "type": "string",
                  "enum": ["exact", "earlier", "later"]
                },
                "expires_at": {
                  "anyOf": [
                    {
                      "type": "string",
                      "format": "date-time",
                      "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d(?::[0-5]\\d(?:\\.\\d+)?)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$"
                    },
                    {
                      "type": "null"
                    }
                  ]
                },
                "source_ref": {
                  "anyOf": [
                    {
                      "type": "object",
                      "propertyNames": {
                        "type": "string"
                      },
                      "additionalProperties": {}
                    },
                    {
                      "type": "null"
                    }
                  ]
                },
                "automatic_retry_enabled": {
                  "default": true,
                  "type": "boolean"
                },
                "idempotency_key": {
                  "type": "string",
                  "minLength": 8,
                  "maxLength": 160
                }
              },
              "required": [
                "social_account_id",
                "provider_payload",
                "scheduled_at",
                "idempotency_key"
              ],
              "additionalProperties": false
            }
          }
        },
        "required": ["workspace_id", "targets"],
        "$schema": "http://json-schema.org/draft-07/schema#",
        "additionalProperties": false
      },
      "annotations": {
        "readOnlyHint": false,
        "destructiveHint": false,
        "idempotentHint": true,
        "openWorldHint": true
      },
      "execution": {
        "taskSupport": "forbidden"
      },
      "transports": ["stdio", "http"],
      "requirements": [
        {
          "path": "/studio-api/scheduled-posts/bulk-create",
          "capability": "agent:publish",
          "minimumRole": "editor",
          "scope": "workspace",
          "completionTruth": "terminal publication outcome"
        }
      ]
    },
    {
      "name": "sosoapi_cancel_scheduled_post",
      "title": "Cancel scheduled post",
      "description": "Cancel a scheduled post that has not been published yet so it never goes out. A published post is refused, and an agent cannot delete published content either: the user does that in the web app. Needs expected_version.",
      "inputSchema": {
        "type": "object",
        "properties": {
          "id": {
            "type": "string",
            "pattern": "^[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$"
          },
          "expected_version": {
            "type": "integer",
            "exclusiveMinimum": 0,
            "maximum": 9007199254740991
          }
        },
        "required": ["id", "expected_version"],
        "$schema": "http://json-schema.org/draft-07/schema#",
        "additionalProperties": false
      },
      "annotations": {
        "readOnlyHint": false,
        "destructiveHint": true,
        "idempotentHint": true,
        "openWorldHint": true
      },
      "execution": {
        "taskSupport": "forbidden"
      },
      "transports": ["stdio", "http"],
      "requirements": [
        {
          "path": "/studio-api/scheduled-posts/cancel",
          "capability": "agent:publish",
          "minimumRole": "editor",
          "scope": "workspace",
          "completionTruth": "terminal publication outcome"
        }
      ]
    },
    {
      "name": "sosoapi_create_comment",
      "title": "Create community comment",
      "description": "Queue one exact comment against a canonical post or comment target; status is not provider success.",
      "inputSchema": {
        "type": "object",
        "properties": {
          "workspace_id": {
            "type": "string",
            "format": "uuid",
            "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
          },
          "social_account_id": {
            "type": "string",
            "format": "uuid",
            "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
          },
          "target": {
            "oneOf": [
              {
                "type": "object",
                "properties": {
                  "kind": {
                    "type": "string",
                    "const": "post"
                  },
                  "social_post_id": {
                    "type": "string",
                    "format": "uuid",
                    "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
                  }
                },
                "required": ["kind", "social_post_id"],
                "additionalProperties": false
              },
              {
                "type": "object",
                "properties": {
                  "kind": {
                    "type": "string",
                    "const": "comment"
                  },
                  "social_comment_id": {
                    "type": "string",
                    "format": "uuid",
                    "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
                  }
                },
                "required": ["kind", "social_comment_id"],
                "additionalProperties": false
              }
            ]
          },
          "message": {
            "type": "string",
            "minLength": 1,
            "maxLength": 2000
          },
          "idempotency_key": {
            "type": "string",
            "format": "uuid",
            "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
          }
        },
        "required": ["workspace_id", "social_account_id", "target", "message", "idempotency_key"],
        "$schema": "http://json-schema.org/draft-07/schema#",
        "additionalProperties": false
      },
      "annotations": {
        "readOnlyHint": false,
        "destructiveHint": false,
        "idempotentHint": true,
        "openWorldHint": true
      },
      "execution": {
        "taskSupport": "forbidden"
      },
      "transports": ["stdio", "http"],
      "requirements": [
        {
          "path": "/community-engagement-api/comments/create",
          "capability": "agent:engage",
          "minimumRole": "editor",
          "scope": "workspace",
          "completionTruth": "terminal provider receipt"
        }
      ]
    },
    {
      "name": "sosoapi_create_scheduled_post",
      "title": "Create scheduled post",
      "description": "Schedule one account at scheduled_at with provider_payload. Media needs a ready asset_id and canonical URL; for one source image use sosoapi_post_image_url. Pair local_scheduled_at with schedule_dst_disambiguation or omit both. Requires publish, editor role and idempotency_key. Scheduled is not published: read its outcome.",
      "inputSchema": {
        "type": "object",
        "properties": {
          "workspace_id": {
            "type": "string",
            "format": "uuid",
            "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
          },
          "project_id": {
            "anyOf": [
              {
                "type": "string",
                "format": "uuid",
                "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
              },
              {
                "type": "null"
              }
            ]
          },
          "social_account_id": {
            "type": "string",
            "format": "uuid",
            "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
          },
          "caption": {
            "default": null,
            "anyOf": [
              {
                "type": "string",
                "maxLength": 5000
              },
              {
                "type": "null"
              }
            ]
          },
          "hashtags": {
            "default": [],
            "maxItems": 100,
            "type": "array",
            "items": {
              "type": "string",
              "maxLength": 100
            }
          },
          "media": {
            "default": [],
            "maxItems": 20,
            "type": "array",
            "items": {
              "type": "object",
              "properties": {
                "kind": {
                  "type": "string",
                  "enum": ["image", "video"]
                },
                "url": {
                  "type": "string",
                  "format": "uri"
                },
                "cover_url": {
                  "anyOf": [
                    {
                      "type": "string",
                      "format": "uri"
                    },
                    {
                      "type": "null"
                    }
                  ]
                },
                "cover_asset_id": {
                  "anyOf": [
                    {
                      "type": "integer",
                      "exclusiveMinimum": 0,
                      "maximum": 9007199254740991
                    },
                    {
                      "type": "null"
                    }
                  ]
                },
                "asset_id": {
                  "anyOf": [
                    {
                      "type": "integer",
                      "exclusiveMinimum": 0,
                      "maximum": 9007199254740991
                    },
                    {
                      "type": "null"
                    }
                  ]
                },
                "mime_type": {
                  "anyOf": [
                    {
                      "type": "string",
                      "minLength": 1,
                      "maxLength": 160
                    },
                    {
                      "type": "null"
                    }
                  ]
                }
              },
              "required": ["kind", "url"],
              "additionalProperties": false
            }
          },
          "link_url": {
            "anyOf": [
              {
                "type": "string",
                "format": "uri"
              },
              {
                "type": "null"
              }
            ]
          },
          "provider_payload": {
            "oneOf": [
              {
                "type": "object",
                "properties": {
                  "platform": {
                    "type": "string",
                    "const": "x"
                  },
                  "publish_options": {
                    "type": "object",
                    "properties": {
                      "post_type": {
                        "type": "string",
                        "const": "TEXT"
                      }
                    },
                    "required": ["post_type"],
                    "additionalProperties": false
                  }
                },
                "required": ["platform", "publish_options"],
                "additionalProperties": false
              },
              {
                "type": "object",
                "properties": {
                  "platform": {
                    "type": "string",
                    "const": "instagram"
                  },
                  "publish_options": {
                    "type": "object",
                    "properties": {
                      "post_type": {
                        "type": "string",
                        "enum": [
                          "IMAGE",
                          "VIDEO",
                          "CAROUSEL",
                          "REELS",
                          "STORY_IMAGE",
                          "STORY_VIDEO"
                        ]
                      },
                      "location_id": {
                        "type": "string",
                        "minLength": 1,
                        "maxLength": 256
                      },
                      "share_to_feed": {
                        "type": "boolean"
                      },
                      "collaborators": {
                        "maxItems": 3,
                        "type": "array",
                        "items": {
                          "type": "string",
                          "minLength": 1,
                          "maxLength": 30
                        }
                      },
                      "first_comment": {
                        "type": "string",
                        "minLength": 1,
                        "maxLength": 2200
                      },
                      "cover_asset_id": {
                        "type": "integer",
                        "exclusiveMinimum": 0,
                        "maximum": 9007199254740991
                      },
                      "thumb_offset_ms": {
                        "type": "integer",
                        "minimum": 0,
                        "maximum": 9007199254740991
                      },
                      "audio_name": {
                        "type": "string",
                        "minLength": 1,
                        "maxLength": 100
                      },
                      "trial_params": {
                        "type": "object",
                        "properties": {
                          "graduation_strategy": {
                            "type": "string",
                            "enum": ["MANUAL", "SS_PERFORMANCE"]
                          }
                        },
                        "required": ["graduation_strategy"],
                        "additionalProperties": false
                      },
                      "is_ai_generated": {
                        "type": "boolean"
                      },
                      "branded_content_sponsor_ids": {
                        "maxItems": 2,
                        "type": "array",
                        "items": {
                          "type": "string",
                          "minLength": 1,
                          "maxLength": 256
                        }
                      },
                      "is_paid_partnership": {
                        "type": "boolean"
                      },
                      "media_options": {
                        "maxItems": 10,
                        "type": "array",
                        "items": {
                          "type": "object",
                          "properties": {
                            "asset_id": {
                              "type": "integer",
                              "exclusiveMinimum": 0,
                              "maximum": 9007199254740991
                            },
                            "alt_text": {
                              "type": "string",
                              "minLength": 1,
                              "maxLength": 1000
                            },
                            "user_tags": {
                              "maxItems": 20,
                              "type": "array",
                              "items": {
                                "type": "object",
                                "properties": {
                                  "username": {
                                    "type": "string",
                                    "minLength": 1,
                                    "maxLength": 30
                                  },
                                  "x": {
                                    "type": "number",
                                    "minimum": 0,
                                    "maximum": 1
                                  },
                                  "y": {
                                    "type": "number",
                                    "minimum": 0,
                                    "maximum": 1
                                  }
                                },
                                "required": ["username"],
                                "additionalProperties": false
                              }
                            },
                            "product_tags": {
                              "maxItems": 5,
                              "type": "array",
                              "items": {
                                "type": "object",
                                "properties": {
                                  "product_id": {
                                    "type": "string",
                                    "minLength": 1,
                                    "maxLength": 256
                                  },
                                  "x": {
                                    "type": "number",
                                    "minimum": 0,
                                    "maximum": 1
                                  },
                                  "y": {
                                    "type": "number",
                                    "minimum": 0,
                                    "maximum": 1
                                  }
                                },
                                "required": ["product_id"],
                                "additionalProperties": false
                              }
                            },
                            "thumb_offset_ms": {
                              "type": "integer",
                              "minimum": 0,
                              "maximum": 9007199254740991
                            }
                          },
                          "required": ["asset_id"],
                          "additionalProperties": false
                        }
                      }
                    },
                    "required": ["post_type"],
                    "additionalProperties": false
                  }
                },
                "required": ["platform", "publish_options"],
                "additionalProperties": false
              },
              {
                "type": "object",
                "properties": {
                  "platform": {
                    "type": "string",
                    "const": "facebook"
                  },
                  "publish_options": {
                    "type": "object",
                    "properties": {
                      "post_type": {
                        "type": "string",
                        "enum": [
                          "TEXT",
                          "LINK",
                          "IMAGE",
                          "MULTI_IMAGE",
                          "VIDEO",
                          "REELS",
                          "STORY_IMAGE",
                          "STORY_VIDEO"
                        ]
                      },
                      "title": {
                        "type": "string",
                        "maxLength": 255
                      },
                      "description": {
                        "type": "string",
                        "maxLength": 5000
                      },
                      "publication_mode": {
                        "type": "string",
                        "enum": ["PUBLISH", "DRAFT"]
                      },
                      "backdated_time": {
                        "type": "number"
                      },
                      "backdated_time_granularity": {
                        "type": "string",
                        "enum": ["year", "month", "day", "hour", "minute"]
                      },
                      "place": {
                        "type": "string",
                        "minLength": 1,
                        "maxLength": 256
                      },
                      "tags": {
                        "maxItems": 50,
                        "type": "array",
                        "items": {
                          "type": "string",
                          "minLength": 1,
                          "maxLength": 256
                        }
                      },
                      "feed_targeting": {
                        "type": "object",
                        "properties": {
                          "age_min": {
                            "type": "integer",
                            "minimum": 13,
                            "maximum": 65
                          },
                          "age_max": {
                            "type": "integer",
                            "minimum": 13,
                            "maximum": 65
                          },
                          "college_years": {
                            "maxItems": 100,
                            "type": "array",
                            "items": {
                              "type": "integer",
                              "minimum": 1900,
                              "maximum": 2200
                            }
                          },
                          "education_statuses": {
                            "maxItems": 3,
                            "type": "array",
                            "items": {
                              "anyOf": [
                                {
                                  "type": "number",
                                  "const": 1
                                },
                                {
                                  "type": "number",
                                  "const": 2
                                },
                                {
                                  "type": "number",
                                  "const": 3
                                }
                              ]
                            }
                          },
                          "genders": {
                            "maxItems": 2,
                            "type": "array",
                            "items": {
                              "anyOf": [
                                {
                                  "type": "number",
                                  "const": 1
                                },
                                {
                                  "type": "number",
                                  "const": 2
                                }
                              ]
                            }
                          },
                          "geo_locations": {
                            "type": "object",
                            "properties": {
                              "countries": {
                                "minItems": 1,
                                "maxItems": 25,
                                "type": "array",
                                "items": {
                                  "type": "string",
                                  "pattern": "^[A-Z]{2}$"
                                }
                              },
                              "regions": {
                                "minItems": 1,
                                "maxItems": 250,
                                "type": "array",
                                "items": {
                                  "type": "object",
                                  "properties": {
                                    "key": {
                                      "anyOf": [
                                        {
                                          "type": "string",
                                          "minLength": 1,
                                          "maxLength": 256
                                        },
                                        {
                                          "type": "integer",
                                          "minimum": 0,
                                          "maximum": 9007199254740991
                                        }
                                      ]
                                    }
                                  },
                                  "required": ["key"],
                                  "additionalProperties": false
                                }
                              },
                              "cities": {
                                "minItems": 1,
                                "maxItems": 250,
                                "type": "array",
                                "items": {
                                  "type": "object",
                                  "properties": {
                                    "key": {
                                      "anyOf": [
                                        {
                                          "type": "string",
                                          "minLength": 1,
                                          "maxLength": 256
                                        },
                                        {
                                          "type": "integer",
                                          "minimum": 0,
                                          "maximum": 9007199254740991
                                        }
                                      ]
                                    },
                                    "radius": {
                                      "type": "number",
                                      "exclusiveMinimum": 0,
                                      "maximum": 1000
                                    },
                                    "distance_unit": {
                                      "type": "string",
                                      "enum": ["mile", "kilometer"]
                                    }
                                  },
                                  "required": ["key"],
                                  "additionalProperties": false
                                }
                              },
                              "zips": {
                                "minItems": 1,
                                "maxItems": 250,
                                "type": "array",
                                "items": {
                                  "type": "object",
                                  "properties": {
                                    "key": {
                                      "anyOf": [
                                        {
                                          "type": "string",
                                          "minLength": 1,
                                          "maxLength": 256
                                        },
                                        {
                                          "type": "integer",
                                          "minimum": 0,
                                          "maximum": 9007199254740991
                                        }
                                      ]
                                    }
                                  },
                                  "required": ["key"],
                                  "additionalProperties": false
                                }
                              },
                              "location_types": {
                                "minItems": 1,
                                "maxItems": 2,
                                "type": "array",
                                "items": {
                                  "type": "string",
                                  "enum": ["home", "recent"]
                                }
                              }
                            },
                            "additionalProperties": false
                          },
                          "interests": {
                            "maxItems": 250,
                            "type": "array",
                            "items": {
                              "anyOf": [
                                {
                                  "type": "string",
                                  "minLength": 1,
                                  "maxLength": 256
                                },
                                {
                                  "type": "integer",
                                  "minimum": 0,
                                  "maximum": 9007199254740991
                                }
                              ]
                            }
                          },
                          "locales": {
                            "maxItems": 250,
                            "type": "array",
                            "items": {
                              "type": "integer",
                              "minimum": 0,
                              "maximum": 9007199254740991
                            }
                          },
                          "relationship_statuses": {
                            "maxItems": 4,
                            "type": "array",
                            "items": {
                              "anyOf": [
                                {
                                  "type": "number",
                                  "const": 1
                                },
                                {
                                  "type": "number",
                                  "const": 2
                                },
                                {
                                  "type": "number",
                                  "const": 3
                                },
                                {
                                  "type": "number",
                                  "const": 4
                                }
                              ]
                            }
                          }
                        },
                        "additionalProperties": false
                      },
                      "targeting": {
                        "type": "object",
                        "properties": {
                          "age_min": {
                            "anyOf": [
                              {
                                "type": "number",
                                "const": 13
                              },
                              {
                                "type": "number",
                                "const": 15
                              },
                              {
                                "type": "number",
                                "const": 18
                              },
                              {
                                "type": "number",
                                "const": 21
                              },
                              {
                                "type": "number",
                                "const": 25
                              }
                            ]
                          },
                          "geo_locations": {
                            "type": "object",
                            "properties": {
                              "countries": {
                                "minItems": 1,
                                "maxItems": 25,
                                "type": "array",
                                "items": {
                                  "type": "string",
                                  "pattern": "^[A-Z]{2}$"
                                }
                              },
                              "regions": {
                                "minItems": 1,
                                "maxItems": 250,
                                "type": "array",
                                "items": {
                                  "type": "object",
                                  "properties": {
                                    "key": {
                                      "anyOf": [
                                        {
                                          "type": "string",
                                          "minLength": 1,
                                          "maxLength": 256
                                        },
                                        {
                                          "type": "integer",
                                          "minimum": 0,
                                          "maximum": 9007199254740991
                                        }
                                      ]
                                    }
                                  },
                                  "required": ["key"],
                                  "additionalProperties": false
                                }
                              },
                              "cities": {
                                "minItems": 1,
                                "maxItems": 250,
                                "type": "array",
                                "items": {
                                  "type": "object",
                                  "properties": {
                                    "key": {
                                      "anyOf": [
                                        {
                                          "type": "string",
                                          "minLength": 1,
                                          "maxLength": 256
                                        },
                                        {
                                          "type": "integer",
                                          "minimum": 0,
                                          "maximum": 9007199254740991
                                        }
                                      ]
                                    },
                                    "radius": {
                                      "type": "number",
                                      "exclusiveMinimum": 0,
                                      "maximum": 1000
                                    },
                                    "distance_unit": {
                                      "type": "string",
                                      "enum": ["mile", "kilometer"]
                                    }
                                  },
                                  "required": ["key"],
                                  "additionalProperties": false
                                }
                              },
                              "zips": {
                                "minItems": 1,
                                "maxItems": 250,
                                "type": "array",
                                "items": {
                                  "type": "object",
                                  "properties": {
                                    "key": {
                                      "anyOf": [
                                        {
                                          "type": "string",
                                          "minLength": 1,
                                          "maxLength": 256
                                        },
                                        {
                                          "type": "integer",
                                          "minimum": 0,
                                          "maximum": 9007199254740991
                                        }
                                      ]
                                    }
                                  },
                                  "required": ["key"],
                                  "additionalProperties": false
                                }
                              },
                              "location_types": {
                                "minItems": 1,
                                "maxItems": 2,
                                "type": "array",
                                "items": {
                                  "type": "string",
                                  "enum": ["home", "recent"]
                                }
                              }
                            },
                            "additionalProperties": false
                          }
                        },
                        "additionalProperties": false
                      },
                      "child_attachments": {
                        "minItems": 2,
                        "maxItems": 10,
                        "type": "array",
                        "items": {
                          "type": "object",
                          "properties": {
                            "link": {
                              "type": "string",
                              "format": "uri"
                            },
                            "name": {
                              "type": "string",
                              "maxLength": 255
                            },
                            "description": {
                              "type": "string",
                              "maxLength": 1000
                            },
                            "picture": {
                              "type": "string",
                              "format": "uri"
                            }
                          },
                          "required": ["link", "picture"],
                          "additionalProperties": false
                        }
                      },
                      "multi_share_end_card": {
                        "type": "boolean"
                      },
                      "multi_share_optimized": {
                        "type": "boolean"
                      },
                      "unpublished_content_type": {
                        "type": "string",
                        "enum": [
                          "SCHEDULED",
                          "SCHEDULED_RECURRING",
                          "DRAFT",
                          "PUBLISH_PENDING",
                          "ADS_POST",
                          "INLINE_CREATED",
                          "PUBLISHED",
                          "REVIEWABLE_BRANDED_CONTENT"
                        ]
                      },
                      "no_story": {
                        "type": "boolean"
                      },
                      "crossposted_video_id": {
                        "type": "string",
                        "minLength": 1,
                        "maxLength": 256
                      },
                      "spherical": {
                        "type": "boolean"
                      },
                      "media_options": {
                        "maxItems": 20,
                        "type": "array",
                        "items": {
                          "type": "object",
                          "properties": {
                            "asset_id": {
                              "type": "integer",
                              "exclusiveMinimum": 0,
                              "maximum": 9007199254740991
                            },
                            "alt_text_custom": {
                              "type": "string",
                              "minLength": 1,
                              "maxLength": 1000
                            }
                          },
                          "required": ["asset_id"],
                          "additionalProperties": false
                        }
                      }
                    },
                    "required": ["post_type"],
                    "additionalProperties": false
                  }
                },
                "required": ["platform", "publish_options"],
                "additionalProperties": false
              },
              {
                "type": "object",
                "properties": {
                  "platform": {
                    "type": "string",
                    "const": "threads"
                  },
                  "publish_options": {
                    "type": "object",
                    "properties": {
                      "post_type": {
                        "type": "string",
                        "enum": ["TEXT", "IMAGE", "VIDEO", "CAROUSEL", "REPOST"]
                      },
                      "reply_to_id": {
                        "type": "string",
                        "minLength": 1,
                        "maxLength": 256
                      },
                      "quote_post_id": {
                        "type": "string",
                        "minLength": 1,
                        "maxLength": 256
                      },
                      "repost_target_id": {
                        "type": "string",
                        "minLength": 1,
                        "maxLength": 256
                      },
                      "reply_control": {
                        "type": "string",
                        "enum": [
                          "everyone",
                          "accounts_you_follow",
                          "mentioned_only",
                          "parent_post_author_only",
                          "followers_only"
                        ]
                      },
                      "enable_reply_approvals": {
                        "type": "boolean"
                      },
                      "link_attachment": {
                        "type": "string",
                        "format": "uri"
                      },
                      "poll_attachment": {
                        "type": "object",
                        "properties": {
                          "option_a": {
                            "type": "string",
                            "minLength": 1,
                            "maxLength": 25
                          },
                          "option_b": {
                            "type": "string",
                            "minLength": 1,
                            "maxLength": 25
                          },
                          "option_c": {
                            "type": "string",
                            "minLength": 1,
                            "maxLength": 25
                          },
                          "option_d": {
                            "type": "string",
                            "minLength": 1,
                            "maxLength": 25
                          }
                        },
                        "required": ["option_a", "option_b"],
                        "additionalProperties": false
                      },
                      "gif_attachment": {
                        "type": "object",
                        "properties": {
                          "gif_id": {
                            "type": "string",
                            "minLength": 1,
                            "maxLength": 256
                          },
                          "provider": {
                            "type": "string",
                            "const": "GIPHY"
                          }
                        },
                        "required": ["gif_id", "provider"],
                        "additionalProperties": false
                      },
                      "text_attachment": {
                        "type": "object",
                        "properties": {
                          "plaintext": {
                            "type": "string",
                            "minLength": 1,
                            "maxLength": 10000
                          },
                          "link_attachment_url": {
                            "type": "string",
                            "format": "uri"
                          },
                          "text_with_styling_info": {
                            "maxItems": 100,
                            "type": "array",
                            "items": {
                              "type": "object",
                              "properties": {
                                "offset": {
                                  "type": "integer",
                                  "minimum": 0,
                                  "maximum": 9007199254740991
                                },
                                "length": {
                                  "type": "integer",
                                  "exclusiveMinimum": 0,
                                  "maximum": 9007199254740991
                                },
                                "styling_info": {
                                  "minItems": 1,
                                  "type": "array",
                                  "items": {
                                    "type": "string",
                                    "enum": [
                                      "bold",
                                      "italic",
                                      "highlight",
                                      "underline",
                                      "strikethrough"
                                    ]
                                  }
                                }
                              },
                              "required": ["offset", "length", "styling_info"],
                              "additionalProperties": false
                            }
                          }
                        },
                        "required": ["plaintext"],
                        "additionalProperties": false
                      },
                      "topic_tag": {
                        "type": "string",
                        "minLength": 1,
                        "maxLength": 50
                      },
                      "text_entities": {
                        "maxItems": 10,
                        "type": "array",
                        "items": {
                          "type": "object",
                          "properties": {
                            "entity_type": {
                              "type": "string",
                              "enum": ["SPOILER", "spoiler"]
                            },
                            "offset": {
                              "type": "integer",
                              "minimum": 0,
                              "maximum": 9007199254740991
                            },
                            "length": {
                              "type": "integer",
                              "exclusiveMinimum": 0,
                              "maximum": 9007199254740991
                            }
                          },
                          "required": ["entity_type", "offset", "length"],
                          "additionalProperties": false
                        }
                      },
                      "is_spoiler_media": {
                        "type": "boolean"
                      },
                      "is_ghost_post": {
                        "type": "boolean"
                      },
                      "location_id": {
                        "type": "string",
                        "minLength": 1,
                        "maxLength": 256
                      },
                      "allowlisted_country_codes": {
                        "minItems": 1,
                        "maxItems": 249,
                        "type": "array",
                        "items": {
                          "type": "string",
                          "pattern": "^[A-Z]{2}$"
                        }
                      },
                      "crossreshare_to_ig": {
                        "type": "boolean"
                      },
                      "crossreshare_to_ig_dark_mode": {
                        "type": "boolean"
                      },
                      "auto_publish_text": {
                        "type": "boolean"
                      },
                      "media_options": {
                        "maxItems": 20,
                        "type": "array",
                        "items": {
                          "type": "object",
                          "properties": {
                            "asset_id": {
                              "type": "integer",
                              "exclusiveMinimum": 0,
                              "maximum": 9007199254740991
                            },
                            "alt_text": {
                              "type": "string",
                              "minLength": 1,
                              "maxLength": 1000
                            },
                            "is_spoiler_media": {
                              "type": "boolean"
                            }
                          },
                          "required": ["asset_id"],
                          "additionalProperties": false
                        }
                      }
                    },
                    "required": ["post_type"],
                    "additionalProperties": false
                  }
                },
                "required": ["platform", "publish_options"],
                "additionalProperties": false
              },
              {
                "type": "object",
                "properties": {
                  "platform": {
                    "type": "string",
                    "const": "youtube"
                  },
                  "publish_options": {
                    "type": "object",
                    "properties": {
                      "post_type": {
                        "type": "string",
                        "const": "VIDEO"
                      },
                      "title": {
                        "type": "string",
                        "minLength": 1,
                        "maxLength": 100
                      },
                      "description": {
                        "type": "string",
                        "maxLength": 5000
                      },
                      "tags": {
                        "maxItems": 100,
                        "type": "array",
                        "items": {
                          "type": "string",
                          "minLength": 1,
                          "maxLength": 500
                        }
                      },
                      "category_id": {
                        "anyOf": [
                          {
                            "type": "string",
                            "minLength": 0,
                            "maxLength": 0
                          },
                          {
                            "type": "string",
                            "pattern": "^\\d+$"
                          }
                        ]
                      },
                      "default_language": {
                        "type": "string",
                        "minLength": 2,
                        "maxLength": 35
                      },
                      "localizations": {
                        "type": "object",
                        "propertyNames": {
                          "type": "string"
                        },
                        "additionalProperties": {
                          "type": "object",
                          "properties": {
                            "title": {
                              "type": "string",
                              "minLength": 1,
                              "maxLength": 100
                            },
                            "description": {
                              "type": "string",
                              "maxLength": 5000
                            }
                          },
                          "required": ["title", "description"],
                          "additionalProperties": false
                        }
                      },
                      "privacy_status": {
                        "type": "string",
                        "enum": ["private", "unlisted", "public"]
                      },
                      "cancellation_mode": {
                        "type": "string",
                        "enum": ["DELETE", "UNSCHEDULE_KEEP_PRIVATE"]
                      },
                      "license": {
                        "type": "string",
                        "enum": ["youtube", "creativeCommon"]
                      },
                      "embeddable": {
                        "type": "boolean"
                      },
                      "public_stats_viewable": {
                        "type": "boolean"
                      },
                      "self_declared_made_for_kids": {
                        "type": "boolean"
                      },
                      "contains_synthetic_media": {
                        "type": "boolean"
                      },
                      "has_paid_product_placement": {
                        "type": "boolean"
                      },
                      "recording_date": {
                        "type": "string",
                        "format": "date-time",
                        "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d(?::[0-5]\\d(?:\\.\\d+)?)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$"
                      },
                      "notify_subscribers": {
                        "type": "boolean"
                      },
                      "thumbnail_asset_id": {
                        "type": "integer",
                        "exclusiveMinimum": 0,
                        "maximum": 9007199254740991
                      },
                      "surface_expectation": {
                        "type": "string",
                        "const": "SHORT"
                      },
                      "brand_partner": {
                        "type": "object",
                        "properties": {
                          "channel_id": {
                            "type": "string",
                            "pattern": "^UC[A-Za-z0-9_-]+$"
                          },
                          "channel_handle": {
                            "type": "string",
                            "pattern": "^@[A-Za-z0-9._-]+$"
                          }
                        },
                        "additionalProperties": false
                      }
                    },
                    "required": ["post_type", "title", "privacy_status", "cancellation_mode"],
                    "additionalProperties": false
                  }
                },
                "required": ["platform", "publish_options"],
                "additionalProperties": false
              }
            ]
          },
          "scheduled_at": {
            "type": "string",
            "format": "date-time",
            "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d(?::[0-5]\\d(?:\\.\\d+)?)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$"
          },
          "display_timezone": {
            "default": "UTC",
            "type": "string",
            "minLength": 1,
            "maxLength": 80
          },
          "local_scheduled_at": {
            "type": "string",
            "pattern": "^\\d{4}-\\d{2}-\\d{2}T\\d{2}:\\d{2}(?::\\d{2}(?:\\.\\d{1,6})?)?$"
          },
          "schedule_dst_disambiguation": {
            "type": "string",
            "enum": ["exact", "earlier", "later"]
          },
          "expires_at": {
            "anyOf": [
              {
                "type": "string",
                "format": "date-time",
                "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d(?::[0-5]\\d(?:\\.\\d+)?)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$"
              },
              {
                "type": "null"
              }
            ]
          },
          "source_ref": {
            "anyOf": [
              {
                "type": "object",
                "propertyNames": {
                  "type": "string"
                },
                "additionalProperties": {}
              },
              {
                "type": "null"
              }
            ]
          },
          "automatic_retry_enabled": {
            "default": true,
            "type": "boolean"
          },
          "idempotency_key": {
            "type": "string",
            "minLength": 8,
            "maxLength": 160
          }
        },
        "required": [
          "workspace_id",
          "social_account_id",
          "provider_payload",
          "scheduled_at",
          "idempotency_key"
        ],
        "$schema": "http://json-schema.org/draft-07/schema#",
        "additionalProperties": false
      },
      "annotations": {
        "readOnlyHint": false,
        "destructiveHint": false,
        "idempotentHint": true,
        "openWorldHint": true
      },
      "execution": {
        "taskSupport": "forbidden"
      },
      "transports": ["stdio", "http"],
      "requirements": [
        {
          "path": "/studio-api/scheduled-posts/create",
          "capability": "agent:publish",
          "minimumRole": "editor",
          "scope": "workspace",
          "completionTruth": "terminal publication outcome"
        }
      ]
    },
    {
      "name": "sosoapi_get_asset",
      "title": "Get asset",
      "description": "Read one asset by id: metadata and a short-lived preview URL.",
      "inputSchema": {
        "type": "object",
        "properties": {
          "workspace_id": {
            "type": "string",
            "format": "uuid",
            "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
          },
          "id": {
            "anyOf": [
              {
                "type": "integer",
                "minimum": -9007199254740991,
                "maximum": 9007199254740991
              },
              {
                "type": "string"
              }
            ]
          },
          "include_version": {
            "description": "Optional. true adds the resource version to the answer.",
            "type": "boolean"
          }
        },
        "required": ["id"],
        "$schema": "http://json-schema.org/draft-07/schema#",
        "additionalProperties": false
      },
      "annotations": {
        "readOnlyHint": true,
        "destructiveHint": false,
        "idempotentHint": true,
        "openWorldHint": false
      },
      "execution": {
        "taskSupport": "forbidden"
      },
      "transports": ["stdio", "http"],
      "requirements": [
        {
          "path": "/assets-api/get",
          "capability": "agent:operate",
          "minimumRole": "viewer",
          "scope": "workspace",
          "completionTruth": "synchronous_http_response"
        }
      ]
    },
    {
      "name": "sosoapi_get_asset_import_status",
      "title": "Get asset import status",
      "description": "Read an import by import_id. For posting pass include_asset=true: a ready result includes the registered asset id, kind and stable asset_url, avoiding a separate get_asset. Pending or missing assets cannot be scheduled. Never use the source or preview URL as media identity. If stalled, read sosoapi_job_status with job_id; never start a duplicate import.",
      "inputSchema": {
        "type": "object",
        "properties": {
          "workspace_id": {
            "type": "string",
            "format": "uuid",
            "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
          },
          "import_id": {
            "type": "string",
            "format": "uuid",
            "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
          },
          "include_asset": {
            "type": "boolean"
          }
        },
        "required": ["workspace_id", "import_id"],
        "$schema": "http://json-schema.org/draft-07/schema#",
        "additionalProperties": false
      },
      "annotations": {
        "readOnlyHint": true,
        "destructiveHint": false,
        "idempotentHint": true,
        "openWorldHint": false
      },
      "execution": {
        "taskSupport": "forbidden"
      },
      "transports": ["stdio", "http"],
      "requirements": [
        {
          "path": "/assets-api/imports/status",
          "capability": "agent:operate",
          "minimumRole": "viewer",
          "scope": "workspace",
          "completionTruth": "synchronous_http_response"
        }
      ]
    },
    {
      "name": "sosoapi_get_billing_status",
      "title": "Get billing status",
      "description": "Read the user's billing plan, payment state, current cycle dates and quota usage (successful publishes, pending scheduled posts, connected accounts). Check it before large scheduling runs.",
      "inputSchema": {
        "type": "object",
        "properties": {},
        "$schema": "http://json-schema.org/draft-07/schema#",
        "additionalProperties": false
      },
      "annotations": {
        "readOnlyHint": true,
        "destructiveHint": false,
        "idempotentHint": true,
        "openWorldHint": false
      },
      "execution": {
        "taskSupport": "forbidden"
      },
      "transports": ["stdio", "http"],
      "requirements": [
        {
          "path": "/identity-api/billing/status",
          "capability": "agent:operate",
          "minimumRole": null,
          "scope": "user",
          "completionTruth": "synchronous_http_response"
        }
      ]
    },
    {
      "name": "sosoapi_get_comment_action_status",
      "title": "Get community comment status",
      "description": "Read the sanitized terminal receipt for a direct comment action.",
      "inputSchema": {
        "type": "object",
        "properties": {
          "workspace_id": {
            "type": "string",
            "format": "uuid",
            "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
          },
          "action_id": {
            "type": "string",
            "format": "uuid",
            "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
          }
        },
        "required": ["workspace_id", "action_id"],
        "$schema": "http://json-schema.org/draft-07/schema#",
        "additionalProperties": false
      },
      "annotations": {
        "readOnlyHint": true,
        "destructiveHint": false,
        "idempotentHint": true,
        "openWorldHint": true
      },
      "execution": {
        "taskSupport": "forbidden"
      },
      "transports": ["stdio", "http"],
      "requirements": [
        {
          "path": "/community-engagement-api/comments/status",
          "capability": "agent:engage",
          "minimumRole": "viewer",
          "scope": "workspace",
          "completionTruth": "terminal provider receipt"
        }
      ]
    },
    {
      "name": "sosoapi_get_organization_context",
      "title": "Get Organization context",
      "description": "Read the live map of your Organizations, their Workspaces and Channels with ids and roles. Use it when Organization or Channel ids are needed. For Workspace posting, reuse a returned Workspace id; do not also read workspace context.",
      "inputSchema": {
        "type": "object",
        "properties": {
          "organization_id": {
            "type": "string",
            "format": "uuid",
            "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
          }
        },
        "$schema": "http://json-schema.org/draft-07/schema#",
        "additionalProperties": false
      },
      "annotations": {
        "readOnlyHint": true,
        "destructiveHint": false,
        "idempotentHint": true,
        "openWorldHint": false
      },
      "execution": {
        "taskSupport": "forbidden"
      },
      "transports": ["stdio", "http"],
      "requirements": [
        {
          "path": "/identity-api/agent/organization-context",
          "capability": "agent:operate",
          "minimumRole": null,
          "scope": "organization",
          "completionTruth": "synchronous_http_response"
        }
      ]
    },
    {
      "name": "sosoapi_get_provider_insight_status",
      "title": "Get provider insight status",
      "description": "Read an insights request (request_id): queued, processing, completed (with the provider result and per-metric availability) or failed.",
      "inputSchema": {
        "type": "object",
        "properties": {
          "workspace_id": {
            "type": "string",
            "format": "uuid",
            "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
          },
          "request_id": {
            "type": "string",
            "format": "uuid",
            "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
          }
        },
        "required": ["workspace_id", "request_id"],
        "$schema": "http://json-schema.org/draft-07/schema#",
        "additionalProperties": false
      },
      "annotations": {
        "readOnlyHint": true,
        "destructiveHint": false,
        "idempotentHint": true,
        "openWorldHint": true
      },
      "execution": {
        "taskSupport": "forbidden"
      },
      "transports": ["stdio", "http"],
      "requirements": [
        {
          "path": "/analytics-api/provider-insights/status",
          "capability": "agent:operate",
          "minimumRole": "viewer",
          "scope": "workspace",
          "completionTruth": "provider-native result or explicit unavailable reason"
        }
      ]
    },
    {
      "name": "sosoapi_get_scheduled_post",
      "title": "Get scheduled post",
      "description": "Read one scheduled post by id: content, status, delivery state and outcomes. Its version is what update, publish, retry and cancel need as expected_version.",
      "inputSchema": {
        "type": "object",
        "properties": {
          "id": {
            "type": "string",
            "pattern": "^[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$"
          }
        },
        "required": ["id"],
        "$schema": "http://json-schema.org/draft-07/schema#",
        "additionalProperties": false
      },
      "annotations": {
        "readOnlyHint": true,
        "destructiveHint": false,
        "idempotentHint": true,
        "openWorldHint": false
      },
      "execution": {
        "taskSupport": "forbidden"
      },
      "transports": ["stdio", "http"],
      "requirements": [
        {
          "path": "/studio-api/scheduled-posts/get",
          "capability": "agent:operate",
          "minimumRole": "viewer",
          "scope": "workspace",
          "completionTruth": "synchronous_http_response"
        }
      ]
    },
    {
      "name": "sosoapi_get_scheduled_post_eligibility",
      "title": "Get scheduled post eligibility",
      "description": "Read-only preflight per destination. Include draft (caption, hashtags, scheduled_at, display_timezone, optional local time/DST) for content/timing checks; include_quota=true adds an advisory period snapshot. Upload/import media and await readiness first. Without draft, only account/media are checked. Reserves nothing; create/dispatch recheck limits and authority.",
      "inputSchema": {
        "type": "object",
        "properties": {
          "workspace_id": {
            "type": "string",
            "format": "uuid",
            "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
          },
          "include_quota": {
            "type": "boolean"
          },
          "targets": {
            "minItems": 1,
            "maxItems": 50,
            "type": "array",
            "items": {
              "type": "object",
              "properties": {
                "social_account_id": {
                  "type": "string",
                  "format": "uuid",
                  "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
                },
                "media": {
                  "maxItems": 20,
                  "type": "array",
                  "items": {
                    "type": "object",
                    "properties": {
                      "kind": {
                        "type": "string",
                        "enum": ["image", "video"]
                      },
                      "url": {
                        "type": "string",
                        "format": "uri"
                      },
                      "cover_url": {
                        "anyOf": [
                          {
                            "type": "string",
                            "format": "uri"
                          },
                          {
                            "type": "null"
                          }
                        ]
                      },
                      "cover_asset_id": {
                        "anyOf": [
                          {
                            "type": "integer",
                            "exclusiveMinimum": 0,
                            "maximum": 9007199254740991
                          },
                          {
                            "type": "null"
                          }
                        ]
                      },
                      "asset_id": {
                        "anyOf": [
                          {
                            "type": "integer",
                            "exclusiveMinimum": 0,
                            "maximum": 9007199254740991
                          },
                          {
                            "type": "null"
                          }
                        ]
                      },
                      "mime_type": {
                        "anyOf": [
                          {
                            "type": "string",
                            "minLength": 1,
                            "maxLength": 160
                          },
                          {
                            "type": "null"
                          }
                        ]
                      }
                    },
                    "required": ["kind", "url"],
                    "additionalProperties": false
                  }
                },
                "link_url": {
                  "anyOf": [
                    {
                      "type": "string",
                      "format": "uri"
                    },
                    {
                      "type": "null"
                    }
                  ]
                },
                "provider_payload": {
                  "oneOf": [
                    {
                      "type": "object",
                      "properties": {
                        "platform": {
                          "type": "string",
                          "const": "x"
                        },
                        "publish_options": {
                          "type": "object",
                          "properties": {
                            "post_type": {
                              "type": "string",
                              "const": "TEXT"
                            }
                          },
                          "required": ["post_type"],
                          "additionalProperties": false
                        }
                      },
                      "required": ["platform", "publish_options"],
                      "additionalProperties": false
                    },
                    {
                      "type": "object",
                      "properties": {
                        "platform": {
                          "type": "string",
                          "const": "instagram"
                        },
                        "publish_options": {
                          "type": "object",
                          "properties": {
                            "post_type": {
                              "type": "string",
                              "enum": [
                                "IMAGE",
                                "VIDEO",
                                "CAROUSEL",
                                "REELS",
                                "STORY_IMAGE",
                                "STORY_VIDEO"
                              ]
                            },
                            "location_id": {
                              "type": "string",
                              "minLength": 1,
                              "maxLength": 256
                            },
                            "share_to_feed": {
                              "type": "boolean"
                            },
                            "collaborators": {
                              "maxItems": 3,
                              "type": "array",
                              "items": {
                                "type": "string",
                                "minLength": 1,
                                "maxLength": 30
                              }
                            },
                            "first_comment": {
                              "type": "string",
                              "minLength": 1,
                              "maxLength": 2200
                            },
                            "cover_asset_id": {
                              "type": "integer",
                              "exclusiveMinimum": 0,
                              "maximum": 9007199254740991
                            },
                            "thumb_offset_ms": {
                              "type": "integer",
                              "minimum": 0,
                              "maximum": 9007199254740991
                            },
                            "audio_name": {
                              "type": "string",
                              "minLength": 1,
                              "maxLength": 100
                            },
                            "trial_params": {
                              "type": "object",
                              "properties": {
                                "graduation_strategy": {
                                  "type": "string",
                                  "enum": ["MANUAL", "SS_PERFORMANCE"]
                                }
                              },
                              "required": ["graduation_strategy"],
                              "additionalProperties": false
                            },
                            "is_ai_generated": {
                              "type": "boolean"
                            },
                            "branded_content_sponsor_ids": {
                              "maxItems": 2,
                              "type": "array",
                              "items": {
                                "type": "string",
                                "minLength": 1,
                                "maxLength": 256
                              }
                            },
                            "is_paid_partnership": {
                              "type": "boolean"
                            },
                            "media_options": {
                              "maxItems": 10,
                              "type": "array",
                              "items": {
                                "type": "object",
                                "properties": {
                                  "asset_id": {
                                    "type": "integer",
                                    "exclusiveMinimum": 0,
                                    "maximum": 9007199254740991
                                  },
                                  "alt_text": {
                                    "type": "string",
                                    "minLength": 1,
                                    "maxLength": 1000
                                  },
                                  "user_tags": {
                                    "maxItems": 20,
                                    "type": "array",
                                    "items": {
                                      "type": "object",
                                      "properties": {
                                        "username": {
                                          "type": "string",
                                          "minLength": 1,
                                          "maxLength": 30
                                        },
                                        "x": {
                                          "type": "number",
                                          "minimum": 0,
                                          "maximum": 1
                                        },
                                        "y": {
                                          "type": "number",
                                          "minimum": 0,
                                          "maximum": 1
                                        }
                                      },
                                      "required": ["username"],
                                      "additionalProperties": false
                                    }
                                  },
                                  "product_tags": {
                                    "maxItems": 5,
                                    "type": "array",
                                    "items": {
                                      "type": "object",
                                      "properties": {
                                        "product_id": {
                                          "type": "string",
                                          "minLength": 1,
                                          "maxLength": 256
                                        },
                                        "x": {
                                          "type": "number",
                                          "minimum": 0,
                                          "maximum": 1
                                        },
                                        "y": {
                                          "type": "number",
                                          "minimum": 0,
                                          "maximum": 1
                                        }
                                      },
                                      "required": ["product_id"],
                                      "additionalProperties": false
                                    }
                                  },
                                  "thumb_offset_ms": {
                                    "type": "integer",
                                    "minimum": 0,
                                    "maximum": 9007199254740991
                                  }
                                },
                                "required": ["asset_id"],
                                "additionalProperties": false
                              }
                            }
                          },
                          "required": ["post_type"],
                          "additionalProperties": false
                        }
                      },
                      "required": ["platform", "publish_options"],
                      "additionalProperties": false
                    },
                    {
                      "type": "object",
                      "properties": {
                        "platform": {
                          "type": "string",
                          "const": "facebook"
                        },
                        "publish_options": {
                          "type": "object",
                          "properties": {
                            "post_type": {
                              "type": "string",
                              "enum": [
                                "TEXT",
                                "LINK",
                                "IMAGE",
                                "MULTI_IMAGE",
                                "VIDEO",
                                "REELS",
                                "STORY_IMAGE",
                                "STORY_VIDEO"
                              ]
                            },
                            "title": {
                              "type": "string",
                              "maxLength": 255
                            },
                            "description": {
                              "type": "string",
                              "maxLength": 5000
                            },
                            "publication_mode": {
                              "type": "string",
                              "enum": ["PUBLISH", "DRAFT"]
                            },
                            "backdated_time": {
                              "type": "number"
                            },
                            "backdated_time_granularity": {
                              "type": "string",
                              "enum": ["year", "month", "day", "hour", "minute"]
                            },
                            "place": {
                              "type": "string",
                              "minLength": 1,
                              "maxLength": 256
                            },
                            "tags": {
                              "maxItems": 50,
                              "type": "array",
                              "items": {
                                "type": "string",
                                "minLength": 1,
                                "maxLength": 256
                              }
                            },
                            "feed_targeting": {
                              "type": "object",
                              "properties": {
                                "age_min": {
                                  "type": "integer",
                                  "minimum": 13,
                                  "maximum": 65
                                },
                                "age_max": {
                                  "type": "integer",
                                  "minimum": 13,
                                  "maximum": 65
                                },
                                "college_years": {
                                  "maxItems": 100,
                                  "type": "array",
                                  "items": {
                                    "type": "integer",
                                    "minimum": 1900,
                                    "maximum": 2200
                                  }
                                },
                                "education_statuses": {
                                  "maxItems": 3,
                                  "type": "array",
                                  "items": {
                                    "anyOf": [
                                      {
                                        "type": "number",
                                        "const": 1
                                      },
                                      {
                                        "type": "number",
                                        "const": 2
                                      },
                                      {
                                        "type": "number",
                                        "const": 3
                                      }
                                    ]
                                  }
                                },
                                "genders": {
                                  "maxItems": 2,
                                  "type": "array",
                                  "items": {
                                    "anyOf": [
                                      {
                                        "type": "number",
                                        "const": 1
                                      },
                                      {
                                        "type": "number",
                                        "const": 2
                                      }
                                    ]
                                  }
                                },
                                "geo_locations": {
                                  "type": "object",
                                  "properties": {
                                    "countries": {
                                      "minItems": 1,
                                      "maxItems": 25,
                                      "type": "array",
                                      "items": {
                                        "type": "string",
                                        "pattern": "^[A-Z]{2}$"
                                      }
                                    },
                                    "regions": {
                                      "minItems": 1,
                                      "maxItems": 250,
                                      "type": "array",
                                      "items": {
                                        "type": "object",
                                        "properties": {
                                          "key": {
                                            "anyOf": [
                                              {
                                                "type": "string",
                                                "minLength": 1,
                                                "maxLength": 256
                                              },
                                              {
                                                "type": "integer",
                                                "minimum": 0,
                                                "maximum": 9007199254740991
                                              }
                                            ]
                                          }
                                        },
                                        "required": ["key"],
                                        "additionalProperties": false
                                      }
                                    },
                                    "cities": {
                                      "minItems": 1,
                                      "maxItems": 250,
                                      "type": "array",
                                      "items": {
                                        "type": "object",
                                        "properties": {
                                          "key": {
                                            "anyOf": [
                                              {
                                                "type": "string",
                                                "minLength": 1,
                                                "maxLength": 256
                                              },
                                              {
                                                "type": "integer",
                                                "minimum": 0,
                                                "maximum": 9007199254740991
                                              }
                                            ]
                                          },
                                          "radius": {
                                            "type": "number",
                                            "exclusiveMinimum": 0,
                                            "maximum": 1000
                                          },
                                          "distance_unit": {
                                            "type": "string",
                                            "enum": ["mile", "kilometer"]
                                          }
                                        },
                                        "required": ["key"],
                                        "additionalProperties": false
                                      }
                                    },
                                    "zips": {
                                      "minItems": 1,
                                      "maxItems": 250,
                                      "type": "array",
                                      "items": {
                                        "type": "object",
                                        "properties": {
                                          "key": {
                                            "anyOf": [
                                              {
                                                "type": "string",
                                                "minLength": 1,
                                                "maxLength": 256
                                              },
                                              {
                                                "type": "integer",
                                                "minimum": 0,
                                                "maximum": 9007199254740991
                                              }
                                            ]
                                          }
                                        },
                                        "required": ["key"],
                                        "additionalProperties": false
                                      }
                                    },
                                    "location_types": {
                                      "minItems": 1,
                                      "maxItems": 2,
                                      "type": "array",
                                      "items": {
                                        "type": "string",
                                        "enum": ["home", "recent"]
                                      }
                                    }
                                  },
                                  "additionalProperties": false
                                },
                                "interests": {
                                  "maxItems": 250,
                                  "type": "array",
                                  "items": {
                                    "anyOf": [
                                      {
                                        "type": "string",
                                        "minLength": 1,
                                        "maxLength": 256
                                      },
                                      {
                                        "type": "integer",
                                        "minimum": 0,
                                        "maximum": 9007199254740991
                                      }
                                    ]
                                  }
                                },
                                "locales": {
                                  "maxItems": 250,
                                  "type": "array",
                                  "items": {
                                    "type": "integer",
                                    "minimum": 0,
                                    "maximum": 9007199254740991
                                  }
                                },
                                "relationship_statuses": {
                                  "maxItems": 4,
                                  "type": "array",
                                  "items": {
                                    "anyOf": [
                                      {
                                        "type": "number",
                                        "const": 1
                                      },
                                      {
                                        "type": "number",
                                        "const": 2
                                      },
                                      {
                                        "type": "number",
                                        "const": 3
                                      },
                                      {
                                        "type": "number",
                                        "const": 4
                                      }
                                    ]
                                  }
                                }
                              },
                              "additionalProperties": false
                            },
                            "targeting": {
                              "type": "object",
                              "properties": {
                                "age_min": {
                                  "anyOf": [
                                    {
                                      "type": "number",
                                      "const": 13
                                    },
                                    {
                                      "type": "number",
                                      "const": 15
                                    },
                                    {
                                      "type": "number",
                                      "const": 18
                                    },
                                    {
                                      "type": "number",
                                      "const": 21
                                    },
                                    {
                                      "type": "number",
                                      "const": 25
                                    }
                                  ]
                                },
                                "geo_locations": {
                                  "type": "object",
                                  "properties": {
                                    "countries": {
                                      "minItems": 1,
                                      "maxItems": 25,
                                      "type": "array",
                                      "items": {
                                        "type": "string",
                                        "pattern": "^[A-Z]{2}$"
                                      }
                                    },
                                    "regions": {
                                      "minItems": 1,
                                      "maxItems": 250,
                                      "type": "array",
                                      "items": {
                                        "type": "object",
                                        "properties": {
                                          "key": {
                                            "anyOf": [
                                              {
                                                "type": "string",
                                                "minLength": 1,
                                                "maxLength": 256
                                              },
                                              {
                                                "type": "integer",
                                                "minimum": 0,
                                                "maximum": 9007199254740991
                                              }
                                            ]
                                          }
                                        },
                                        "required": ["key"],
                                        "additionalProperties": false
                                      }
                                    },
                                    "cities": {
                                      "minItems": 1,
                                      "maxItems": 250,
                                      "type": "array",
                                      "items": {
                                        "type": "object",
                                        "properties": {
                                          "key": {
                                            "anyOf": [
                                              {
                                                "type": "string",
                                                "minLength": 1,
                                                "maxLength": 256
                                              },
                                              {
                                                "type": "integer",
                                                "minimum": 0,
                                                "maximum": 9007199254740991
                                              }
                                            ]
                                          },
                                          "radius": {
                                            "type": "number",
                                            "exclusiveMinimum": 0,
                                            "maximum": 1000
                                          },
                                          "distance_unit": {
                                            "type": "string",
                                            "enum": ["mile", "kilometer"]
                                          }
                                        },
                                        "required": ["key"],
                                        "additionalProperties": false
                                      }
                                    },
                                    "zips": {
                                      "minItems": 1,
                                      "maxItems": 250,
                                      "type": "array",
                                      "items": {
                                        "type": "object",
                                        "properties": {
                                          "key": {
                                            "anyOf": [
                                              {
                                                "type": "string",
                                                "minLength": 1,
                                                "maxLength": 256
                                              },
                                              {
                                                "type": "integer",
                                                "minimum": 0,
                                                "maximum": 9007199254740991
                                              }
                                            ]
                                          }
                                        },
                                        "required": ["key"],
                                        "additionalProperties": false
                                      }
                                    },
                                    "location_types": {
                                      "minItems": 1,
                                      "maxItems": 2,
                                      "type": "array",
                                      "items": {
                                        "type": "string",
                                        "enum": ["home", "recent"]
                                      }
                                    }
                                  },
                                  "additionalProperties": false
                                }
                              },
                              "additionalProperties": false
                            },
                            "child_attachments": {
                              "minItems": 2,
                              "maxItems": 10,
                              "type": "array",
                              "items": {
                                "type": "object",
                                "properties": {
                                  "link": {
                                    "type": "string",
                                    "format": "uri"
                                  },
                                  "name": {
                                    "type": "string",
                                    "maxLength": 255
                                  },
                                  "description": {
                                    "type": "string",
                                    "maxLength": 1000
                                  },
                                  "picture": {
                                    "type": "string",
                                    "format": "uri"
                                  }
                                },
                                "required": ["link", "picture"],
                                "additionalProperties": false
                              }
                            },
                            "multi_share_end_card": {
                              "type": "boolean"
                            },
                            "multi_share_optimized": {
                              "type": "boolean"
                            },
                            "unpublished_content_type": {
                              "type": "string",
                              "enum": [
                                "SCHEDULED",
                                "SCHEDULED_RECURRING",
                                "DRAFT",
                                "PUBLISH_PENDING",
                                "ADS_POST",
                                "INLINE_CREATED",
                                "PUBLISHED",
                                "REVIEWABLE_BRANDED_CONTENT"
                              ]
                            },
                            "no_story": {
                              "type": "boolean"
                            },
                            "crossposted_video_id": {
                              "type": "string",
                              "minLength": 1,
                              "maxLength": 256
                            },
                            "spherical": {
                              "type": "boolean"
                            },
                            "media_options": {
                              "maxItems": 20,
                              "type": "array",
                              "items": {
                                "type": "object",
                                "properties": {
                                  "asset_id": {
                                    "type": "integer",
                                    "exclusiveMinimum": 0,
                                    "maximum": 9007199254740991
                                  },
                                  "alt_text_custom": {
                                    "type": "string",
                                    "minLength": 1,
                                    "maxLength": 1000
                                  }
                                },
                                "required": ["asset_id"],
                                "additionalProperties": false
                              }
                            }
                          },
                          "required": ["post_type"],
                          "additionalProperties": false
                        }
                      },
                      "required": ["platform", "publish_options"],
                      "additionalProperties": false
                    },
                    {
                      "type": "object",
                      "properties": {
                        "platform": {
                          "type": "string",
                          "const": "threads"
                        },
                        "publish_options": {
                          "type": "object",
                          "properties": {
                            "post_type": {
                              "type": "string",
                              "enum": ["TEXT", "IMAGE", "VIDEO", "CAROUSEL", "REPOST"]
                            },
                            "reply_to_id": {
                              "type": "string",
                              "minLength": 1,
                              "maxLength": 256
                            },
                            "quote_post_id": {
                              "type": "string",
                              "minLength": 1,
                              "maxLength": 256
                            },
                            "repost_target_id": {
                              "type": "string",
                              "minLength": 1,
                              "maxLength": 256
                            },
                            "reply_control": {
                              "type": "string",
                              "enum": [
                                "everyone",
                                "accounts_you_follow",
                                "mentioned_only",
                                "parent_post_author_only",
                                "followers_only"
                              ]
                            },
                            "enable_reply_approvals": {
                              "type": "boolean"
                            },
                            "link_attachment": {
                              "type": "string",
                              "format": "uri"
                            },
                            "poll_attachment": {
                              "type": "object",
                              "properties": {
                                "option_a": {
                                  "type": "string",
                                  "minLength": 1,
                                  "maxLength": 25
                                },
                                "option_b": {
                                  "type": "string",
                                  "minLength": 1,
                                  "maxLength": 25
                                },
                                "option_c": {
                                  "type": "string",
                                  "minLength": 1,
                                  "maxLength": 25
                                },
                                "option_d": {
                                  "type": "string",
                                  "minLength": 1,
                                  "maxLength": 25
                                }
                              },
                              "required": ["option_a", "option_b"],
                              "additionalProperties": false
                            },
                            "gif_attachment": {
                              "type": "object",
                              "properties": {
                                "gif_id": {
                                  "type": "string",
                                  "minLength": 1,
                                  "maxLength": 256
                                },
                                "provider": {
                                  "type": "string",
                                  "const": "GIPHY"
                                }
                              },
                              "required": ["gif_id", "provider"],
                              "additionalProperties": false
                            },
                            "text_attachment": {
                              "type": "object",
                              "properties": {
                                "plaintext": {
                                  "type": "string",
                                  "minLength": 1,
                                  "maxLength": 10000
                                },
                                "link_attachment_url": {
                                  "type": "string",
                                  "format": "uri"
                                },
                                "text_with_styling_info": {
                                  "maxItems": 100,
                                  "type": "array",
                                  "items": {
                                    "type": "object",
                                    "properties": {
                                      "offset": {
                                        "type": "integer",
                                        "minimum": 0,
                                        "maximum": 9007199254740991
                                      },
                                      "length": {
                                        "type": "integer",
                                        "exclusiveMinimum": 0,
                                        "maximum": 9007199254740991
                                      },
                                      "styling_info": {
                                        "minItems": 1,
                                        "type": "array",
                                        "items": {
                                          "type": "string",
                                          "enum": [
                                            "bold",
                                            "italic",
                                            "highlight",
                                            "underline",
                                            "strikethrough"
                                          ]
                                        }
                                      }
                                    },
                                    "required": ["offset", "length", "styling_info"],
                                    "additionalProperties": false
                                  }
                                }
                              },
                              "required": ["plaintext"],
                              "additionalProperties": false
                            },
                            "topic_tag": {
                              "type": "string",
                              "minLength": 1,
                              "maxLength": 50
                            },
                            "text_entities": {
                              "maxItems": 10,
                              "type": "array",
                              "items": {
                                "type": "object",
                                "properties": {
                                  "entity_type": {
                                    "type": "string",
                                    "enum": ["SPOILER", "spoiler"]
                                  },
                                  "offset": {
                                    "type": "integer",
                                    "minimum": 0,
                                    "maximum": 9007199254740991
                                  },
                                  "length": {
                                    "type": "integer",
                                    "exclusiveMinimum": 0,
                                    "maximum": 9007199254740991
                                  }
                                },
                                "required": ["entity_type", "offset", "length"],
                                "additionalProperties": false
                              }
                            },
                            "is_spoiler_media": {
                              "type": "boolean"
                            },
                            "is_ghost_post": {
                              "type": "boolean"
                            },
                            "location_id": {
                              "type": "string",
                              "minLength": 1,
                              "maxLength": 256
                            },
                            "allowlisted_country_codes": {
                              "minItems": 1,
                              "maxItems": 249,
                              "type": "array",
                              "items": {
                                "type": "string",
                                "pattern": "^[A-Z]{2}$"
                              }
                            },
                            "crossreshare_to_ig": {
                              "type": "boolean"
                            },
                            "crossreshare_to_ig_dark_mode": {
                              "type": "boolean"
                            },
                            "auto_publish_text": {
                              "type": "boolean"
                            },
                            "media_options": {
                              "maxItems": 20,
                              "type": "array",
                              "items": {
                                "type": "object",
                                "properties": {
                                  "asset_id": {
                                    "type": "integer",
                                    "exclusiveMinimum": 0,
                                    "maximum": 9007199254740991
                                  },
                                  "alt_text": {
                                    "type": "string",
                                    "minLength": 1,
                                    "maxLength": 1000
                                  },
                                  "is_spoiler_media": {
                                    "type": "boolean"
                                  }
                                },
                                "required": ["asset_id"],
                                "additionalProperties": false
                              }
                            }
                          },
                          "required": ["post_type"],
                          "additionalProperties": false
                        }
                      },
                      "required": ["platform", "publish_options"],
                      "additionalProperties": false
                    },
                    {
                      "type": "object",
                      "properties": {
                        "platform": {
                          "type": "string",
                          "const": "youtube"
                        },
                        "publish_options": {
                          "type": "object",
                          "properties": {
                            "post_type": {
                              "type": "string",
                              "const": "VIDEO"
                            },
                            "title": {
                              "type": "string",
                              "minLength": 1,
                              "maxLength": 100
                            },
                            "description": {
                              "type": "string",
                              "maxLength": 5000
                            },
                            "tags": {
                              "maxItems": 100,
                              "type": "array",
                              "items": {
                                "type": "string",
                                "minLength": 1,
                                "maxLength": 500
                              }
                            },
                            "category_id": {
                              "anyOf": [
                                {
                                  "type": "string",
                                  "minLength": 0,
                                  "maxLength": 0
                                },
                                {
                                  "type": "string",
                                  "pattern": "^\\d+$"
                                }
                              ]
                            },
                            "default_language": {
                              "type": "string",
                              "minLength": 2,
                              "maxLength": 35
                            },
                            "localizations": {
                              "type": "object",
                              "propertyNames": {
                                "type": "string"
                              },
                              "additionalProperties": {
                                "type": "object",
                                "properties": {
                                  "title": {
                                    "type": "string",
                                    "minLength": 1,
                                    "maxLength": 100
                                  },
                                  "description": {
                                    "type": "string",
                                    "maxLength": 5000
                                  }
                                },
                                "required": ["title", "description"],
                                "additionalProperties": false
                              }
                            },
                            "privacy_status": {
                              "type": "string",
                              "enum": ["private", "unlisted", "public"]
                            },
                            "cancellation_mode": {
                              "type": "string",
                              "enum": ["DELETE", "UNSCHEDULE_KEEP_PRIVATE"]
                            },
                            "license": {
                              "type": "string",
                              "enum": ["youtube", "creativeCommon"]
                            },
                            "embeddable": {
                              "type": "boolean"
                            },
                            "public_stats_viewable": {
                              "type": "boolean"
                            },
                            "self_declared_made_for_kids": {
                              "type": "boolean"
                            },
                            "contains_synthetic_media": {
                              "type": "boolean"
                            },
                            "has_paid_product_placement": {
                              "type": "boolean"
                            },
                            "recording_date": {
                              "type": "string",
                              "format": "date-time",
                              "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d(?::[0-5]\\d(?:\\.\\d+)?)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$"
                            },
                            "notify_subscribers": {
                              "type": "boolean"
                            },
                            "thumbnail_asset_id": {
                              "type": "integer",
                              "exclusiveMinimum": 0,
                              "maximum": 9007199254740991
                            },
                            "surface_expectation": {
                              "type": "string",
                              "const": "SHORT"
                            },
                            "brand_partner": {
                              "type": "object",
                              "properties": {
                                "channel_id": {
                                  "type": "string",
                                  "pattern": "^UC[A-Za-z0-9_-]+$"
                                },
                                "channel_handle": {
                                  "type": "string",
                                  "pattern": "^@[A-Za-z0-9._-]+$"
                                }
                              },
                              "additionalProperties": false
                            }
                          },
                          "required": ["post_type", "title", "privacy_status", "cancellation_mode"],
                          "additionalProperties": false
                        }
                      },
                      "required": ["platform", "publish_options"],
                      "additionalProperties": false
                    }
                  ]
                },
                "draft": {
                  "type": "object",
                  "properties": {
                    "caption": {
                      "default": null,
                      "anyOf": [
                        {
                          "type": "string",
                          "maxLength": 5000
                        },
                        {
                          "type": "null"
                        }
                      ]
                    },
                    "hashtags": {
                      "default": [],
                      "maxItems": 100,
                      "type": "array",
                      "items": {
                        "type": "string",
                        "maxLength": 100
                      }
                    },
                    "scheduled_at": {
                      "type": "string",
                      "format": "date-time",
                      "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d(?::[0-5]\\d(?:\\.\\d+)?)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$"
                    },
                    "display_timezone": {
                      "type": "string",
                      "minLength": 1,
                      "maxLength": 80
                    },
                    "local_scheduled_at": {
                      "type": "string",
                      "pattern": "^\\d{4}-\\d{2}-\\d{2}T\\d{2}:\\d{2}(?::\\d{2}(?:\\.\\d{1,6})?)?$"
                    },
                    "schedule_dst_disambiguation": {
                      "type": "string",
                      "enum": ["exact", "earlier", "later"]
                    },
                    "expires_at": {
                      "anyOf": [
                        {
                          "type": "string",
                          "format": "date-time",
                          "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d(?::[0-5]\\d(?:\\.\\d+)?)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$"
                        },
                        {
                          "type": "null"
                        }
                      ]
                    }
                  },
                  "required": ["scheduled_at", "display_timezone"],
                  "additionalProperties": false
                }
              },
              "required": ["social_account_id", "media", "provider_payload"],
              "additionalProperties": false
            }
          }
        },
        "required": ["workspace_id", "targets"],
        "$schema": "http://json-schema.org/draft-07/schema#",
        "additionalProperties": false
      },
      "annotations": {
        "readOnlyHint": true,
        "destructiveHint": false,
        "idempotentHint": true,
        "openWorldHint": false
      },
      "execution": {
        "taskSupport": "forbidden"
      },
      "transports": ["stdio", "http"],
      "requirements": [
        {
          "path": "/studio-api/scheduled-posts/eligibility",
          "capability": "agent:operate",
          "minimumRole": "viewer",
          "scope": "workspace",
          "completionTruth": "synchronous_http_response"
        }
      ]
    },
    {
      "name": "sosoapi_get_workspace_context",
      "title": "Get Workspace context",
      "description": "List the Workspaces the signed-in user belongs to and which one is active. Use this when workspace_id is unknown; reuse live context instead of repeating both context reads. The active Workspace it reports is the selection a person made in the web app, not a default for your calls: pass workspace_id explicitly. It is not purely a read: for an account with no Workspace it creates the first one.",
      "inputSchema": {
        "type": "object",
        "properties": {
          "include_version": {
            "description": "Optional. true adds the resource version to the answer.",
            "type": "boolean"
          }
        },
        "$schema": "http://json-schema.org/draft-07/schema#",
        "additionalProperties": false
      },
      "annotations": {
        "readOnlyHint": false,
        "destructiveHint": false,
        "idempotentHint": true,
        "openWorldHint": false
      },
      "execution": {
        "taskSupport": "forbidden"
      },
      "transports": ["stdio", "http"],
      "requirements": [
        {
          "path": "/identity-api/workspace/list",
          "capability": "agent:operate",
          "minimumRole": null,
          "scope": "workspace",
          "completionTruth": "synchronous_http_response"
        }
      ]
    },
    {
      "name": "sosoapi_get_x_usage",
      "title": "Get X publishing credits",
      "description": "Read the Organization X publishing credits shared by this Workspace. Needs workspace_id. Free gets 10 once; Pro gets 100 per billing period. Text costs 1, text containing a URL costs 10. Optional text quotes its cost. This reads stored allowance and calls no X API.",
      "inputSchema": {
        "type": "object",
        "properties": {
          "workspace_id": {
            "type": "string",
            "format": "uuid",
            "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
          },
          "text": {
            "type": "string",
            "maxLength": 4096
          }
        },
        "required": ["workspace_id"],
        "$schema": "http://json-schema.org/draft-07/schema#",
        "additionalProperties": false
      },
      "annotations": {
        "readOnlyHint": true,
        "destructiveHint": false,
        "idempotentHint": true,
        "openWorldHint": false
      },
      "execution": {
        "taskSupport": "forbidden"
      },
      "transports": ["stdio", "http"],
      "requirements": [
        {
          "path": "/studio-api/x/usage",
          "capability": "agent:operate",
          "minimumRole": "viewer",
          "scope": "workspace",
          "completionTruth": "synchronous_http_response"
        }
      ]
    },
    {
      "name": "sosoapi_import_asset_url",
      "title": "Import asset URL",
      "description": "Ask SosoAPI to download a public http(s) image or video URL into private Workspace storage as a new asset. Returns an import_id; poll sosoapi_get_asset_import_status. Needs an idempotency_key and the editor role.",
      "inputSchema": {
        "type": "object",
        "properties": {
          "workspace_id": {
            "type": "string",
            "format": "uuid",
            "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
          },
          "source_url": {
            "type": "string",
            "maxLength": 2048,
            "format": "uri"
          },
          "idempotency_key": {
            "type": "string",
            "minLength": 1,
            "maxLength": 128
          },
          "expected_kind": {
            "type": "string",
            "enum": ["image", "video"]
          },
          "title": {
            "type": "string",
            "maxLength": 200
          },
          "description": {
            "type": "string",
            "maxLength": 2000
          },
          "tags": {
            "maxItems": 50,
            "type": "array",
            "items": {
              "type": "string",
              "maxLength": 64
            }
          }
        },
        "required": ["workspace_id", "source_url", "idempotency_key"],
        "$schema": "http://json-schema.org/draft-07/schema#",
        "additionalProperties": false
      },
      "annotations": {
        "readOnlyHint": false,
        "destructiveHint": false,
        "idempotentHint": true,
        "openWorldHint": true
      },
      "execution": {
        "taskSupport": "forbidden"
      },
      "transports": ["stdio", "http"],
      "requirements": [
        {
          "path": "/assets-api/imports/url",
          "capability": "agent:operate",
          "minimumRole": "editor",
          "scope": "workspace",
          "completionTruth": "queued_asynchronous_poll_import_status"
        }
      ]
    },
    {
      "name": "sosoapi_job_status",
      "title": "Get job status",
      "description": "Read one background job by job_id: status, type and the error message if it failed.",
      "inputSchema": {
        "type": "object",
        "properties": {
          "job_id": {
            "type": "string",
            "format": "uuid",
            "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
          }
        },
        "required": ["job_id"],
        "$schema": "http://json-schema.org/draft-07/schema#",
        "additionalProperties": false
      },
      "annotations": {
        "readOnlyHint": true,
        "destructiveHint": false,
        "idempotentHint": true,
        "openWorldHint": false
      },
      "execution": {
        "taskSupport": "forbidden"
      },
      "transports": ["stdio", "http"],
      "requirements": [
        {
          "path": "/jobs-api/get",
          "capability": "agent:operate",
          "minimumRole": null,
          "scope": "user",
          "completionTruth": "synchronous_http_response"
        }
      ]
    },
    {
      "name": "sosoapi_list_connected_accounts",
      "title": "List connected accounts",
      "description": "List the social accounts (Instagram, Threads, Facebook, YouTube) connected to a Workspace, with connection health and capability facts. Use their ids as social_account_id when scheduling or commenting. Pass workspace_id: a request without it is refused once explicit targeting is enforced.",
      "inputSchema": {
        "type": "object",
        "properties": {
          "workspace_id": {
            "type": "string",
            "format": "uuid",
            "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
          },
          "include_authorization_grant": {
            "type": "boolean"
          }
        },
        "$schema": "http://json-schema.org/draft-07/schema#",
        "additionalProperties": false
      },
      "annotations": {
        "readOnlyHint": true,
        "destructiveHint": false,
        "idempotentHint": true,
        "openWorldHint": false
      },
      "execution": {
        "taskSupport": "forbidden"
      },
      "transports": ["stdio", "http"],
      "requirements": [
        {
          "path": "/identity-api/user/social-accounts/list",
          "capability": "agent:operate",
          "minimumRole": null,
          "scope": "workspace",
          "completionTruth": "synchronous_http_response"
        }
      ]
    },
    {
      "name": "sosoapi_list_monitored_posts",
      "title": "List monitored posts",
      "description": "List social posts SosoAPI has discovered for a Workspace (id, platform, permalink, publish time), filterable by account, platform and time, cursor-paged. Metadata only, no captions.",
      "inputSchema": {
        "type": "object",
        "properties": {
          "workspace_id": {
            "type": "string",
            "format": "uuid",
            "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
          },
          "cursor": {
            "type": "string",
            "minLength": 1,
            "maxLength": 16384,
            "pattern": "^sa1\\.[A-Za-z0-9_-]+\\.[A-Za-z0-9_-]+$"
          },
          "page_size": {
            "type": "integer",
            "minimum": 1,
            "maximum": 100
          },
          "filters": {
            "type": "object",
            "properties": {
              "social_account_ids": {
                "minItems": 1,
                "maxItems": 50,
                "type": "array",
                "items": {
                  "type": "string",
                  "format": "uuid",
                  "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
                }
              },
              "platforms": {
                "minItems": 1,
                "maxItems": 4,
                "type": "array",
                "items": {
                  "type": "string",
                  "enum": ["instagram", "facebook", "threads", "youtube"]
                }
              },
              "social_post_ids": {
                "minItems": 1,
                "maxItems": 100,
                "type": "array",
                "items": {
                  "type": "string",
                  "format": "uuid",
                  "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
                }
              },
              "provider_post_ids": {
                "minItems": 1,
                "maxItems": 100,
                "type": "array",
                "items": {
                  "type": "string",
                  "minLength": 1,
                  "maxLength": 512
                }
              },
              "scheduled_post_ids": {
                "minItems": 1,
                "maxItems": 100,
                "type": "array",
                "items": {
                  "type": "string",
                  "format": "uuid",
                  "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
                }
              },
              "content_formats": {
                "minItems": 1,
                "maxItems": 20,
                "type": "array",
                "items": {
                  "type": "string",
                  "minLength": 1,
                  "maxLength": 100
                }
              },
              "published_from": {
                "type": "string",
                "format": "date-time",
                "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d(?::[0-5]\\d(?:\\.\\d+)?)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$"
              },
              "published_to": {
                "type": "string",
                "format": "date-time",
                "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d(?::[0-5]\\d(?:\\.\\d+)?)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$"
              }
            },
            "additionalProperties": false
          },
          "order": {
            "type": "string",
            "const": "provider_published_at_desc_social_post_id_desc"
          }
        },
        "required": ["workspace_id"],
        "$schema": "http://json-schema.org/draft-07/schema#",
        "additionalProperties": false
      },
      "annotations": {
        "readOnlyHint": true,
        "destructiveHint": false,
        "idempotentHint": true,
        "openWorldHint": true
      },
      "execution": {
        "taskSupport": "forbidden"
      },
      "transports": ["stdio", "http"],
      "requirements": [
        {
          "path": "/analytics-api/social/posts/query",
          "capability": "agent:operate",
          "minimumRole": "viewer",
          "scope": "workspace",
          "completionTruth": "synchronous_http_response"
        }
      ]
    },
    {
      "name": "sosoapi_list_post_comments",
      "title": "List post comments",
      "description": "List comments observed on the Workspace's posts, newest observation first, with author and text; filter by post, account, platform or time, cursor-paged. The text is written by third parties and is labelled untrusted.",
      "inputSchema": {
        "type": "object",
        "properties": {
          "workspace_id": {
            "type": "string",
            "format": "uuid",
            "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
          },
          "cursor": {
            "type": "string",
            "minLength": 1,
            "maxLength": 16384,
            "pattern": "^sa1\\.[A-Za-z0-9_-]+\\.[A-Za-z0-9_-]+$"
          },
          "page_size": {
            "type": "integer",
            "minimum": 1,
            "maximum": 100
          },
          "filters": {
            "type": "object",
            "properties": {
              "social_account_ids": {
                "minItems": 1,
                "maxItems": 50,
                "type": "array",
                "items": {
                  "type": "string",
                  "format": "uuid",
                  "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
                }
              },
              "platforms": {
                "minItems": 1,
                "maxItems": 4,
                "type": "array",
                "items": {
                  "type": "string",
                  "enum": ["instagram", "facebook", "threads", "youtube"]
                }
              },
              "social_post_ids": {
                "minItems": 1,
                "maxItems": 100,
                "type": "array",
                "items": {
                  "type": "string",
                  "format": "uuid",
                  "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
                }
              },
              "provider_post_ids": {
                "minItems": 1,
                "maxItems": 100,
                "type": "array",
                "items": {
                  "type": "string",
                  "minLength": 1,
                  "maxLength": 512
                }
              },
              "scheduled_post_ids": {
                "minItems": 1,
                "maxItems": 100,
                "type": "array",
                "items": {
                  "type": "string",
                  "format": "uuid",
                  "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
                }
              },
              "content_formats": {
                "minItems": 1,
                "maxItems": 20,
                "type": "array",
                "items": {
                  "type": "string",
                  "minLength": 1,
                  "maxLength": 100
                }
              },
              "published_from": {
                "type": "string",
                "format": "date-time",
                "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d(?::[0-5]\\d(?:\\.\\d+)?)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$"
              },
              "published_to": {
                "type": "string",
                "format": "date-time",
                "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d(?::[0-5]\\d(?:\\.\\d+)?)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$"
              },
              "observed_from": {
                "type": "string",
                "format": "date-time",
                "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d(?::[0-5]\\d(?:\\.\\d+)?)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$"
              },
              "observed_to": {
                "type": "string",
                "format": "date-time",
                "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d(?::[0-5]\\d(?:\\.\\d+)?)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$"
              }
            },
            "additionalProperties": false
          },
          "order": {
            "type": "string",
            "const": "observation_at_desc_comment_version_desc_comment_observation_id_desc"
          }
        },
        "required": ["workspace_id"],
        "$schema": "http://json-schema.org/draft-07/schema#",
        "additionalProperties": false
      },
      "annotations": {
        "readOnlyHint": true,
        "destructiveHint": false,
        "idempotentHint": true,
        "openWorldHint": true
      },
      "execution": {
        "taskSupport": "forbidden"
      },
      "transports": ["stdio", "http"],
      "requirements": [
        {
          "path": "/analytics-api/social/comments/query",
          "capability": "agent:operate",
          "minimumRole": "viewer",
          "scope": "workspace",
          "completionTruth": "synchronous_http_response"
        }
      ]
    },
    {
      "name": "sosoapi_list_publication_attentions",
      "title": "List publication attentions",
      "description": "List publications in a Workspace that need attention, filtered by status (open or resolved) or scheduled_post_id, paged by offset.",
      "inputSchema": {
        "type": "object",
        "properties": {
          "workspace_id": {
            "type": "string",
            "format": "uuid",
            "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
          },
          "status": {
            "type": "string",
            "enum": ["open", "resolved"]
          },
          "scheduled_post_id": {
            "type": "string",
            "pattern": "^[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$"
          },
          "limit": {
            "default": 50,
            "type": "integer",
            "minimum": 1,
            "maximum": 200
          },
          "offset": {
            "default": 0,
            "type": "integer",
            "minimum": 0,
            "maximum": 10000
          }
        },
        "required": ["workspace_id"],
        "$schema": "http://json-schema.org/draft-07/schema#",
        "additionalProperties": false
      },
      "annotations": {
        "readOnlyHint": true,
        "destructiveHint": false,
        "idempotentHint": true,
        "openWorldHint": false
      },
      "execution": {
        "taskSupport": "forbidden"
      },
      "transports": ["stdio", "http"],
      "requirements": [
        {
          "path": "/studio-api/publication-attentions/list",
          "capability": "agent:operate",
          "minimumRole": "viewer",
          "scope": "workspace",
          "completionTruth": "synchronous_http_response"
        }
      ]
    },
    {
      "name": "sosoapi_list_scheduled_posts",
      "title": "List scheduled posts",
      "description": "List a Workspace's scheduled posts, filterable by project, status (scheduled, publishing, published, failed, expired, needs_reschedule, cancelled, deleted) and time range, cursor-paged.",
      "inputSchema": {
        "type": "object",
        "properties": {
          "workspace_id": {
            "type": "string",
            "format": "uuid",
            "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
          },
          "project_id": {
            "type": "string",
            "format": "uuid",
            "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
          },
          "status": {
            "type": "string",
            "enum": [
              "scheduled",
              "publishing",
              "published",
              "failed",
              "expired",
              "needs_reschedule",
              "cancelled",
              "deleted"
            ]
          },
          "scheduled_from": {
            "type": "string",
            "format": "date-time",
            "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d(?::[0-5]\\d(?:\\.\\d+)?)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$"
          },
          "scheduled_to": {
            "type": "string",
            "format": "date-time",
            "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d(?::[0-5]\\d(?:\\.\\d+)?)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$"
          },
          "limit": {
            "default": 50,
            "type": "integer",
            "minimum": 1,
            "maximum": 200
          },
          "cursor": {
            "type": "object",
            "properties": {
              "scheduled_at": {
                "type": "string",
                "format": "date-time",
                "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d(?::[0-5]\\d(?:\\.\\d+)?)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$"
              },
              "id": {
                "type": "string",
                "pattern": "^[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$"
              }
            },
            "required": ["scheduled_at", "id"],
            "additionalProperties": false
          }
        },
        "required": ["workspace_id"],
        "$schema": "http://json-schema.org/draft-07/schema#",
        "additionalProperties": false
      },
      "annotations": {
        "readOnlyHint": true,
        "destructiveHint": false,
        "idempotentHint": true,
        "openWorldHint": false
      },
      "execution": {
        "taskSupport": "forbidden"
      },
      "transports": ["stdio", "http"],
      "requirements": [
        {
          "path": "/studio-api/scheduled-posts/list",
          "capability": "agent:operate",
          "minimumRole": "viewer",
          "scope": "workspace",
          "completionTruth": "synchronous_http_response"
        }
      ]
    },
    {
      "name": "sosoapi_post_image_url",
      "title": "Post one image from a URL",
      "description": "Submit the complete image URL post once, with empty media. The backend prepares and publishes it even after disconnect. Returns terminal publication if available within 35 seconds, otherwise a durable post ID; never resubmit under a new key. Needs operate and publish grants. Local time/DST fields go together. import_id is for resuming older clients only.",
      "inputSchema": {
        "type": "object",
        "properties": {
          "source_url": {
            "type": "string",
            "maxLength": 2048,
            "format": "uri"
          },
          "post": {
            "type": "object",
            "properties": {
              "workspace_id": {
                "type": "string",
                "format": "uuid",
                "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
              },
              "project_id": {
                "anyOf": [
                  {
                    "type": "string",
                    "format": "uuid",
                    "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
                  },
                  {
                    "type": "null"
                  }
                ]
              },
              "social_account_id": {
                "type": "string",
                "format": "uuid",
                "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
              },
              "caption": {
                "default": null,
                "anyOf": [
                  {
                    "type": "string",
                    "maxLength": 5000
                  },
                  {
                    "type": "null"
                  }
                ]
              },
              "hashtags": {
                "default": [],
                "maxItems": 100,
                "type": "array",
                "items": {
                  "type": "string",
                  "maxLength": 100
                }
              },
              "media": {
                "default": [],
                "maxItems": 0,
                "type": "array",
                "items": {
                  "type": "object",
                  "properties": {
                    "kind": {
                      "type": "string",
                      "enum": ["image", "video"]
                    },
                    "url": {
                      "type": "string",
                      "format": "uri"
                    },
                    "cover_url": {
                      "anyOf": [
                        {
                          "type": "string",
                          "format": "uri"
                        },
                        {
                          "type": "null"
                        }
                      ]
                    },
                    "cover_asset_id": {
                      "anyOf": [
                        {
                          "type": "integer",
                          "exclusiveMinimum": 0,
                          "maximum": 9007199254740991
                        },
                        {
                          "type": "null"
                        }
                      ]
                    },
                    "asset_id": {
                      "anyOf": [
                        {
                          "type": "integer",
                          "exclusiveMinimum": 0,
                          "maximum": 9007199254740991
                        },
                        {
                          "type": "null"
                        }
                      ]
                    },
                    "mime_type": {
                      "anyOf": [
                        {
                          "type": "string",
                          "minLength": 1,
                          "maxLength": 160
                        },
                        {
                          "type": "null"
                        }
                      ]
                    }
                  },
                  "required": ["kind", "url"],
                  "additionalProperties": false
                }
              },
              "link_url": {
                "anyOf": [
                  {
                    "type": "string",
                    "format": "uri"
                  },
                  {
                    "type": "null"
                  }
                ]
              },
              "provider_payload": {
                "type": "object",
                "properties": {
                  "platform": {
                    "type": "string",
                    "enum": ["threads", "instagram", "facebook"]
                  },
                  "publish_options": {
                    "type": "object",
                    "properties": {
                      "post_type": {
                        "type": "string",
                        "enum": ["IMAGE", "STORY_IMAGE"]
                      }
                    },
                    "required": ["post_type"],
                    "additionalProperties": {}
                  }
                },
                "required": ["platform", "publish_options"],
                "additionalProperties": false
              },
              "scheduled_at": {
                "type": "string",
                "format": "date-time",
                "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d(?::[0-5]\\d(?:\\.\\d+)?)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$"
              },
              "display_timezone": {
                "default": "UTC",
                "type": "string",
                "minLength": 1,
                "maxLength": 80
              },
              "local_scheduled_at": {
                "type": "string",
                "pattern": "^\\d{4}-\\d{2}-\\d{2}T\\d{2}:\\d{2}(?::\\d{2}(?:\\.\\d{1,6})?)?$"
              },
              "schedule_dst_disambiguation": {
                "type": "string",
                "enum": ["exact", "earlier", "later"]
              },
              "expires_at": {
                "anyOf": [
                  {
                    "type": "string",
                    "format": "date-time",
                    "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d(?::[0-5]\\d(?:\\.\\d+)?)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$"
                  },
                  {
                    "type": "null"
                  }
                ]
              },
              "source_ref": {
                "anyOf": [
                  {
                    "type": "object",
                    "propertyNames": {
                      "type": "string"
                    },
                    "additionalProperties": {}
                  },
                  {
                    "type": "null"
                  }
                ]
              },
              "automatic_retry_enabled": {
                "default": true,
                "type": "boolean"
              },
              "idempotency_key": {
                "type": "string",
                "minLength": 8,
                "maxLength": 160
              }
            },
            "required": [
              "workspace_id",
              "social_account_id",
              "provider_payload",
              "scheduled_at",
              "idempotency_key"
            ],
            "additionalProperties": false
          },
          "import_id": {
            "description": "Use only the import_id returned for this same URL, Workspace and user intent.",
            "type": "string",
            "format": "uuid",
            "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
          }
        },
        "required": ["source_url", "post"],
        "$schema": "http://json-schema.org/draft-07/schema#",
        "additionalProperties": false
      },
      "annotations": {
        "readOnlyHint": false,
        "destructiveHint": false,
        "idempotentHint": true,
        "openWorldHint": true
      },
      "execution": {
        "taskSupport": "forbidden"
      },
      "transports": ["stdio", "http"],
      "requirements": [
        {
          "path": "/studio-api/scheduled-posts/create-image-url",
          "capability": "agent:publish",
          "minimumRole": "editor",
          "scope": "workspace",
          "completionTruth": "terminal publication outcome"
        },
        {
          "path": "/assets-api/imports/url",
          "capability": "agent:operate",
          "minimumRole": "editor",
          "scope": "workspace",
          "completionTruth": "queued_asynchronous_poll_import_status"
        },
        {
          "path": "/assets-api/imports/status",
          "capability": "agent:operate",
          "minimumRole": "viewer",
          "scope": "workspace",
          "completionTruth": "synchronous_http_response"
        },
        {
          "path": "/studio-api/scheduled-posts/create",
          "capability": "agent:publish",
          "minimumRole": "editor",
          "scope": "workspace",
          "completionTruth": "terminal publication outcome"
        }
      ]
    },
    {
      "name": "sosoapi_publish_scheduled_post_now",
      "title": "Publish scheduled post now",
      "description": "Publish a scheduled post immediately instead of at scheduled_at. Public and not undoable; needs expected_version. Queued is not published: read the outcome.",
      "inputSchema": {
        "type": "object",
        "properties": {
          "id": {
            "type": "string",
            "pattern": "^[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$"
          },
          "expected_version": {
            "type": "integer",
            "exclusiveMinimum": 0,
            "maximum": 9007199254740991
          }
        },
        "required": ["id", "expected_version"],
        "$schema": "http://json-schema.org/draft-07/schema#",
        "additionalProperties": false
      },
      "annotations": {
        "readOnlyHint": false,
        "destructiveHint": false,
        "idempotentHint": true,
        "openWorldHint": true
      },
      "execution": {
        "taskSupport": "forbidden"
      },
      "transports": ["stdio", "http"],
      "requirements": [
        {
          "path": "/studio-api/scheduled-posts/publish-now",
          "capability": "agent:publish",
          "minimumRole": "editor",
          "scope": "workspace",
          "completionTruth": "terminal publication outcome"
        }
      ]
    },
    {
      "name": "sosoapi_query_assets",
      "title": "Query assets",
      "description": "Find a Workspace's assets by asset_type, source or tag; returns a page (limit up to 100, plus offset) and the total. Pass workspace_id explicitly.",
      "inputSchema": {
        "type": "object",
        "properties": {
          "workspace_id": {
            "type": "string",
            "format": "uuid",
            "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
          },
          "asset_type": {
            "anyOf": [
              {
                "type": "string",
                "enum": ["text", "image", "video", "audio"]
              },
              {
                "type": "array",
                "items": {
                  "type": "string",
                  "enum": ["text", "image", "video", "audio"]
                }
              }
            ]
          },
          "source": {
            "type": "string",
            "maxLength": 64
          },
          "tag": {
            "type": "string",
            "maxLength": 64
          },
          "limit": {
            "type": "integer",
            "minimum": 1,
            "maximum": 100
          },
          "offset": {
            "description": "Rows to skip. Served up to 100000; beyond it 400 OFFSET_TOO_LARGE. Prefer filters to paging deep.",
            "type": "integer",
            "minimum": 0,
            "maximum": 9007199254740991
          },
          "include_version": {
            "description": "Optional. true adds the resource version to the answer.",
            "type": "boolean"
          }
        },
        "$schema": "http://json-schema.org/draft-07/schema#",
        "additionalProperties": false
      },
      "annotations": {
        "readOnlyHint": true,
        "destructiveHint": false,
        "idempotentHint": true,
        "openWorldHint": false
      },
      "execution": {
        "taskSupport": "forbidden"
      },
      "transports": ["stdio", "http"],
      "requirements": [
        {
          "path": "/assets-api/list",
          "capability": "agent:operate",
          "minimumRole": "viewer",
          "scope": "workspace",
          "completionTruth": "synchronous_http_response"
        }
      ]
    },
    {
      "name": "sosoapi_request_provider_insights",
      "title": "Request provider insights",
      "description": "Ask the provider for insights for an account or one post over an optional date range (up to 366 days). Returns a request_id and, when cached, the result; otherwise poll sosoapi_get_provider_insight_status.",
      "inputSchema": {
        "type": "object",
        "properties": {
          "workspace_id": {
            "type": "string",
            "format": "uuid",
            "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
          },
          "social_account_id": {
            "type": "string",
            "format": "uuid",
            "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
          },
          "resource_kind": {
            "type": "string",
            "enum": ["account", "post"]
          },
          "provider_resource_id": {
            "type": "string",
            "minLength": 1,
            "maxLength": 512
          },
          "start_date": {
            "type": "string",
            "pattern": "^\\d{4}-\\d{2}-\\d{2}$"
          },
          "end_date": {
            "type": "string",
            "pattern": "^\\d{4}-\\d{2}-\\d{2}$"
          },
          "include_audience": {
            "type": "boolean"
          },
          "refresh": {
            "type": "boolean"
          }
        },
        "required": ["workspace_id", "social_account_id", "resource_kind"],
        "$schema": "http://json-schema.org/draft-07/schema#",
        "additionalProperties": false
      },
      "annotations": {
        "readOnlyHint": false,
        "destructiveHint": false,
        "idempotentHint": false,
        "openWorldHint": true
      },
      "execution": {
        "taskSupport": "forbidden"
      },
      "transports": ["stdio", "http"],
      "requirements": [
        {
          "path": "/analytics-api/provider-insights/request",
          "capability": "agent:operate",
          "minimumRole": "viewer",
          "scope": "workspace",
          "completionTruth": "provider-native result or explicit unavailable reason"
        }
      ]
    },
    {
      "name": "sosoapi_retry_scheduled_post",
      "title": "Retry scheduled post",
      "description": "Retry a failed scheduled post, optionally at a new scheduled_at. Needs expected_version.",
      "inputSchema": {
        "type": "object",
        "properties": {
          "id": {
            "type": "string",
            "pattern": "^[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$"
          },
          "expected_version": {
            "type": "integer",
            "exclusiveMinimum": 0,
            "maximum": 9007199254740991
          },
          "scheduled_at": {
            "type": "string",
            "format": "date-time",
            "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d(?::[0-5]\\d(?:\\.\\d+)?)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$"
          }
        },
        "required": ["id", "expected_version"],
        "$schema": "http://json-schema.org/draft-07/schema#",
        "additionalProperties": false
      },
      "annotations": {
        "readOnlyHint": false,
        "destructiveHint": false,
        "idempotentHint": true,
        "openWorldHint": true
      },
      "execution": {
        "taskSupport": "forbidden"
      },
      "transports": ["stdio", "http"],
      "requirements": [
        {
          "path": "/studio-api/scheduled-posts/retry",
          "capability": "agent:publish",
          "minimumRole": "editor",
          "scope": "workspace",
          "completionTruth": "terminal publication outcome"
        }
      ]
    },
    {
      "name": "sosoapi_update_scheduled_post",
      "title": "Update scheduled post",
      "description": "Edit a scheduled post that has not been dispatched (caption, hashtags, media, link, time). Needs expected_version from the latest read; a stale version is rejected.",
      "inputSchema": {
        "type": "object",
        "properties": {
          "id": {
            "type": "string",
            "pattern": "^[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$"
          },
          "expected_version": {
            "type": "integer",
            "exclusiveMinimum": 0,
            "maximum": 9007199254740991
          },
          "patch": {
            "type": "object",
            "properties": {
              "caption": {
                "anyOf": [
                  {
                    "type": "string",
                    "maxLength": 5000
                  },
                  {
                    "type": "null"
                  }
                ]
              },
              "hashtags": {
                "maxItems": 100,
                "type": "array",
                "items": {
                  "type": "string",
                  "maxLength": 100
                }
              },
              "media": {
                "maxItems": 20,
                "type": "array",
                "items": {
                  "type": "object",
                  "properties": {
                    "kind": {
                      "type": "string",
                      "enum": ["image", "video"]
                    },
                    "url": {
                      "type": "string",
                      "format": "uri"
                    },
                    "cover_url": {
                      "anyOf": [
                        {
                          "type": "string",
                          "format": "uri"
                        },
                        {
                          "type": "null"
                        }
                      ]
                    },
                    "cover_asset_id": {
                      "anyOf": [
                        {
                          "type": "integer",
                          "exclusiveMinimum": 0,
                          "maximum": 9007199254740991
                        },
                        {
                          "type": "null"
                        }
                      ]
                    },
                    "asset_id": {
                      "anyOf": [
                        {
                          "type": "integer",
                          "exclusiveMinimum": 0,
                          "maximum": 9007199254740991
                        },
                        {
                          "type": "null"
                        }
                      ]
                    },
                    "mime_type": {
                      "anyOf": [
                        {
                          "type": "string",
                          "minLength": 1,
                          "maxLength": 160
                        },
                        {
                          "type": "null"
                        }
                      ]
                    }
                  },
                  "required": ["kind", "url"],
                  "additionalProperties": false
                }
              },
              "link_url": {
                "anyOf": [
                  {
                    "type": "string",
                    "format": "uri"
                  },
                  {
                    "type": "null"
                  }
                ]
              },
              "scheduled_at": {
                "type": "string",
                "format": "date-time",
                "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d(?::[0-5]\\d(?:\\.\\d+)?)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$"
              },
              "display_timezone": {
                "type": "string",
                "minLength": 1,
                "maxLength": 80
              },
              "local_scheduled_at": {
                "type": "string",
                "pattern": "^\\d{4}-\\d{2}-\\d{2}T\\d{2}:\\d{2}(?::\\d{2}(?:\\.\\d{1,6})?)?$"
              },
              "schedule_dst_disambiguation": {
                "type": "string",
                "enum": ["exact", "earlier", "later"]
              },
              "expires_at": {
                "anyOf": [
                  {
                    "type": "string",
                    "format": "date-time",
                    "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d(?::[0-5]\\d(?:\\.\\d+)?)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$"
                  },
                  {
                    "type": "null"
                  }
                ]
              },
              "source_ref": {
                "anyOf": [
                  {
                    "type": "object",
                    "propertyNames": {
                      "type": "string"
                    },
                    "additionalProperties": {}
                  },
                  {
                    "type": "null"
                  }
                ]
              }
            },
            "additionalProperties": false
          },
          "provider_payload": {
            "oneOf": [
              {
                "type": "object",
                "properties": {
                  "platform": {
                    "type": "string",
                    "const": "x"
                  },
                  "publish_options": {
                    "type": "object",
                    "properties": {
                      "post_type": {
                        "type": "string",
                        "const": "TEXT"
                      }
                    },
                    "required": ["post_type"],
                    "additionalProperties": false
                  }
                },
                "required": ["platform"],
                "additionalProperties": false
              },
              {
                "type": "object",
                "properties": {
                  "platform": {
                    "type": "string",
                    "const": "instagram"
                  },
                  "publish_options": {
                    "type": "object",
                    "properties": {
                      "post_type": {
                        "type": "string",
                        "enum": [
                          "IMAGE",
                          "VIDEO",
                          "CAROUSEL",
                          "REELS",
                          "STORY_IMAGE",
                          "STORY_VIDEO"
                        ]
                      },
                      "location_id": {
                        "type": "string",
                        "minLength": 1,
                        "maxLength": 256
                      },
                      "share_to_feed": {
                        "type": "boolean"
                      },
                      "collaborators": {
                        "maxItems": 3,
                        "type": "array",
                        "items": {
                          "type": "string",
                          "minLength": 1,
                          "maxLength": 30
                        }
                      },
                      "first_comment": {
                        "type": "string",
                        "minLength": 1,
                        "maxLength": 2200
                      },
                      "cover_asset_id": {
                        "type": "integer",
                        "exclusiveMinimum": 0,
                        "maximum": 9007199254740991
                      },
                      "thumb_offset_ms": {
                        "type": "integer",
                        "minimum": 0,
                        "maximum": 9007199254740991
                      },
                      "audio_name": {
                        "type": "string",
                        "minLength": 1,
                        "maxLength": 100
                      },
                      "trial_params": {
                        "type": "object",
                        "properties": {
                          "graduation_strategy": {
                            "type": "string",
                            "enum": ["MANUAL", "SS_PERFORMANCE"]
                          }
                        },
                        "required": ["graduation_strategy"],
                        "additionalProperties": false
                      },
                      "is_ai_generated": {
                        "type": "boolean"
                      },
                      "branded_content_sponsor_ids": {
                        "maxItems": 2,
                        "type": "array",
                        "items": {
                          "type": "string",
                          "minLength": 1,
                          "maxLength": 256
                        }
                      },
                      "is_paid_partnership": {
                        "type": "boolean"
                      },
                      "media_options": {
                        "maxItems": 10,
                        "type": "array",
                        "items": {
                          "type": "object",
                          "properties": {
                            "asset_id": {
                              "type": "integer",
                              "exclusiveMinimum": 0,
                              "maximum": 9007199254740991
                            },
                            "alt_text": {
                              "type": "string",
                              "minLength": 1,
                              "maxLength": 1000
                            },
                            "user_tags": {
                              "maxItems": 20,
                              "type": "array",
                              "items": {
                                "type": "object",
                                "properties": {
                                  "username": {
                                    "type": "string",
                                    "minLength": 1,
                                    "maxLength": 30
                                  },
                                  "x": {
                                    "type": "number",
                                    "minimum": 0,
                                    "maximum": 1
                                  },
                                  "y": {
                                    "type": "number",
                                    "minimum": 0,
                                    "maximum": 1
                                  }
                                },
                                "required": ["username"],
                                "additionalProperties": false
                              }
                            },
                            "product_tags": {
                              "maxItems": 5,
                              "type": "array",
                              "items": {
                                "type": "object",
                                "properties": {
                                  "product_id": {
                                    "type": "string",
                                    "minLength": 1,
                                    "maxLength": 256
                                  },
                                  "x": {
                                    "type": "number",
                                    "minimum": 0,
                                    "maximum": 1
                                  },
                                  "y": {
                                    "type": "number",
                                    "minimum": 0,
                                    "maximum": 1
                                  }
                                },
                                "required": ["product_id"],
                                "additionalProperties": false
                              }
                            },
                            "thumb_offset_ms": {
                              "type": "integer",
                              "minimum": 0,
                              "maximum": 9007199254740991
                            }
                          },
                          "required": ["asset_id"],
                          "additionalProperties": false
                        }
                      }
                    },
                    "required": ["post_type"],
                    "additionalProperties": false
                  }
                },
                "required": ["platform"],
                "additionalProperties": false
              },
              {
                "type": "object",
                "properties": {
                  "platform": {
                    "type": "string",
                    "const": "facebook"
                  },
                  "publish_options": {
                    "type": "object",
                    "properties": {
                      "post_type": {
                        "type": "string",
                        "enum": [
                          "TEXT",
                          "LINK",
                          "IMAGE",
                          "MULTI_IMAGE",
                          "VIDEO",
                          "REELS",
                          "STORY_IMAGE",
                          "STORY_VIDEO"
                        ]
                      },
                      "title": {
                        "type": "string",
                        "maxLength": 255
                      },
                      "description": {
                        "type": "string",
                        "maxLength": 5000
                      },
                      "publication_mode": {
                        "type": "string",
                        "enum": ["PUBLISH", "DRAFT"]
                      },
                      "backdated_time": {
                        "type": "number"
                      },
                      "backdated_time_granularity": {
                        "type": "string",
                        "enum": ["year", "month", "day", "hour", "minute"]
                      },
                      "place": {
                        "type": "string",
                        "minLength": 1,
                        "maxLength": 256
                      },
                      "tags": {
                        "maxItems": 50,
                        "type": "array",
                        "items": {
                          "type": "string",
                          "minLength": 1,
                          "maxLength": 256
                        }
                      },
                      "feed_targeting": {
                        "type": "object",
                        "properties": {
                          "age_min": {
                            "type": "integer",
                            "minimum": 13,
                            "maximum": 65
                          },
                          "age_max": {
                            "type": "integer",
                            "minimum": 13,
                            "maximum": 65
                          },
                          "college_years": {
                            "maxItems": 100,
                            "type": "array",
                            "items": {
                              "type": "integer",
                              "minimum": 1900,
                              "maximum": 2200
                            }
                          },
                          "education_statuses": {
                            "maxItems": 3,
                            "type": "array",
                            "items": {
                              "anyOf": [
                                {
                                  "type": "number",
                                  "const": 1
                                },
                                {
                                  "type": "number",
                                  "const": 2
                                },
                                {
                                  "type": "number",
                                  "const": 3
                                }
                              ]
                            }
                          },
                          "genders": {
                            "maxItems": 2,
                            "type": "array",
                            "items": {
                              "anyOf": [
                                {
                                  "type": "number",
                                  "const": 1
                                },
                                {
                                  "type": "number",
                                  "const": 2
                                }
                              ]
                            }
                          },
                          "geo_locations": {
                            "type": "object",
                            "properties": {
                              "countries": {
                                "minItems": 1,
                                "maxItems": 25,
                                "type": "array",
                                "items": {
                                  "type": "string",
                                  "pattern": "^[A-Z]{2}$"
                                }
                              },
                              "regions": {
                                "minItems": 1,
                                "maxItems": 250,
                                "type": "array",
                                "items": {
                                  "type": "object",
                                  "properties": {
                                    "key": {
                                      "anyOf": [
                                        {
                                          "type": "string",
                                          "minLength": 1,
                                          "maxLength": 256
                                        },
                                        {
                                          "type": "integer",
                                          "minimum": 0,
                                          "maximum": 9007199254740991
                                        }
                                      ]
                                    }
                                  },
                                  "required": ["key"],
                                  "additionalProperties": false
                                }
                              },
                              "cities": {
                                "minItems": 1,
                                "maxItems": 250,
                                "type": "array",
                                "items": {
                                  "type": "object",
                                  "properties": {
                                    "key": {
                                      "anyOf": [
                                        {
                                          "type": "string",
                                          "minLength": 1,
                                          "maxLength": 256
                                        },
                                        {
                                          "type": "integer",
                                          "minimum": 0,
                                          "maximum": 9007199254740991
                                        }
                                      ]
                                    },
                                    "radius": {
                                      "type": "number",
                                      "exclusiveMinimum": 0,
                                      "maximum": 1000
                                    },
                                    "distance_unit": {
                                      "type": "string",
                                      "enum": ["mile", "kilometer"]
                                    }
                                  },
                                  "required": ["key"],
                                  "additionalProperties": false
                                }
                              },
                              "zips": {
                                "minItems": 1,
                                "maxItems": 250,
                                "type": "array",
                                "items": {
                                  "type": "object",
                                  "properties": {
                                    "key": {
                                      "anyOf": [
                                        {
                                          "type": "string",
                                          "minLength": 1,
                                          "maxLength": 256
                                        },
                                        {
                                          "type": "integer",
                                          "minimum": 0,
                                          "maximum": 9007199254740991
                                        }
                                      ]
                                    }
                                  },
                                  "required": ["key"],
                                  "additionalProperties": false
                                }
                              },
                              "location_types": {
                                "minItems": 1,
                                "maxItems": 2,
                                "type": "array",
                                "items": {
                                  "type": "string",
                                  "enum": ["home", "recent"]
                                }
                              }
                            },
                            "additionalProperties": false
                          },
                          "interests": {
                            "maxItems": 250,
                            "type": "array",
                            "items": {
                              "anyOf": [
                                {
                                  "type": "string",
                                  "minLength": 1,
                                  "maxLength": 256
                                },
                                {
                                  "type": "integer",
                                  "minimum": 0,
                                  "maximum": 9007199254740991
                                }
                              ]
                            }
                          },
                          "locales": {
                            "maxItems": 250,
                            "type": "array",
                            "items": {
                              "type": "integer",
                              "minimum": 0,
                              "maximum": 9007199254740991
                            }
                          },
                          "relationship_statuses": {
                            "maxItems": 4,
                            "type": "array",
                            "items": {
                              "anyOf": [
                                {
                                  "type": "number",
                                  "const": 1
                                },
                                {
                                  "type": "number",
                                  "const": 2
                                },
                                {
                                  "type": "number",
                                  "const": 3
                                },
                                {
                                  "type": "number",
                                  "const": 4
                                }
                              ]
                            }
                          }
                        },
                        "additionalProperties": false
                      },
                      "targeting": {
                        "type": "object",
                        "properties": {
                          "age_min": {
                            "anyOf": [
                              {
                                "type": "number",
                                "const": 13
                              },
                              {
                                "type": "number",
                                "const": 15
                              },
                              {
                                "type": "number",
                                "const": 18
                              },
                              {
                                "type": "number",
                                "const": 21
                              },
                              {
                                "type": "number",
                                "const": 25
                              }
                            ]
                          },
                          "geo_locations": {
                            "type": "object",
                            "properties": {
                              "countries": {
                                "minItems": 1,
                                "maxItems": 25,
                                "type": "array",
                                "items": {
                                  "type": "string",
                                  "pattern": "^[A-Z]{2}$"
                                }
                              },
                              "regions": {
                                "minItems": 1,
                                "maxItems": 250,
                                "type": "array",
                                "items": {
                                  "type": "object",
                                  "properties": {
                                    "key": {
                                      "anyOf": [
                                        {
                                          "type": "string",
                                          "minLength": 1,
                                          "maxLength": 256
                                        },
                                        {
                                          "type": "integer",
                                          "minimum": 0,
                                          "maximum": 9007199254740991
                                        }
                                      ]
                                    }
                                  },
                                  "required": ["key"],
                                  "additionalProperties": false
                                }
                              },
                              "cities": {
                                "minItems": 1,
                                "maxItems": 250,
                                "type": "array",
                                "items": {
                                  "type": "object",
                                  "properties": {
                                    "key": {
                                      "anyOf": [
                                        {
                                          "type": "string",
                                          "minLength": 1,
                                          "maxLength": 256
                                        },
                                        {
                                          "type": "integer",
                                          "minimum": 0,
                                          "maximum": 9007199254740991
                                        }
                                      ]
                                    },
                                    "radius": {
                                      "type": "number",
                                      "exclusiveMinimum": 0,
                                      "maximum": 1000
                                    },
                                    "distance_unit": {
                                      "type": "string",
                                      "enum": ["mile", "kilometer"]
                                    }
                                  },
                                  "required": ["key"],
                                  "additionalProperties": false
                                }
                              },
                              "zips": {
                                "minItems": 1,
                                "maxItems": 250,
                                "type": "array",
                                "items": {
                                  "type": "object",
                                  "properties": {
                                    "key": {
                                      "anyOf": [
                                        {
                                          "type": "string",
                                          "minLength": 1,
                                          "maxLength": 256
                                        },
                                        {
                                          "type": "integer",
                                          "minimum": 0,
                                          "maximum": 9007199254740991
                                        }
                                      ]
                                    }
                                  },
                                  "required": ["key"],
                                  "additionalProperties": false
                                }
                              },
                              "location_types": {
                                "minItems": 1,
                                "maxItems": 2,
                                "type": "array",
                                "items": {
                                  "type": "string",
                                  "enum": ["home", "recent"]
                                }
                              }
                            },
                            "additionalProperties": false
                          }
                        },
                        "additionalProperties": false
                      },
                      "child_attachments": {
                        "minItems": 2,
                        "maxItems": 10,
                        "type": "array",
                        "items": {
                          "type": "object",
                          "properties": {
                            "link": {
                              "type": "string",
                              "format": "uri"
                            },
                            "name": {
                              "type": "string",
                              "maxLength": 255
                            },
                            "description": {
                              "type": "string",
                              "maxLength": 1000
                            },
                            "picture": {
                              "type": "string",
                              "format": "uri"
                            }
                          },
                          "required": ["link", "picture"],
                          "additionalProperties": false
                        }
                      },
                      "multi_share_end_card": {
                        "type": "boolean"
                      },
                      "multi_share_optimized": {
                        "type": "boolean"
                      },
                      "unpublished_content_type": {
                        "type": "string",
                        "enum": [
                          "SCHEDULED",
                          "SCHEDULED_RECURRING",
                          "DRAFT",
                          "PUBLISH_PENDING",
                          "ADS_POST",
                          "INLINE_CREATED",
                          "PUBLISHED",
                          "REVIEWABLE_BRANDED_CONTENT"
                        ]
                      },
                      "no_story": {
                        "type": "boolean"
                      },
                      "crossposted_video_id": {
                        "type": "string",
                        "minLength": 1,
                        "maxLength": 256
                      },
                      "spherical": {
                        "type": "boolean"
                      },
                      "media_options": {
                        "maxItems": 20,
                        "type": "array",
                        "items": {
                          "type": "object",
                          "properties": {
                            "asset_id": {
                              "type": "integer",
                              "exclusiveMinimum": 0,
                              "maximum": 9007199254740991
                            },
                            "alt_text_custom": {
                              "type": "string",
                              "minLength": 1,
                              "maxLength": 1000
                            }
                          },
                          "required": ["asset_id"],
                          "additionalProperties": false
                        }
                      }
                    },
                    "required": ["post_type"],
                    "additionalProperties": false
                  }
                },
                "required": ["platform"],
                "additionalProperties": false
              },
              {
                "type": "object",
                "properties": {
                  "platform": {
                    "type": "string",
                    "const": "threads"
                  },
                  "publish_options": {
                    "type": "object",
                    "properties": {
                      "post_type": {
                        "type": "string",
                        "enum": ["TEXT", "IMAGE", "VIDEO", "CAROUSEL", "REPOST"]
                      },
                      "reply_to_id": {
                        "type": "string",
                        "minLength": 1,
                        "maxLength": 256
                      },
                      "quote_post_id": {
                        "type": "string",
                        "minLength": 1,
                        "maxLength": 256
                      },
                      "repost_target_id": {
                        "type": "string",
                        "minLength": 1,
                        "maxLength": 256
                      },
                      "reply_control": {
                        "type": "string",
                        "enum": [
                          "everyone",
                          "accounts_you_follow",
                          "mentioned_only",
                          "parent_post_author_only",
                          "followers_only"
                        ]
                      },
                      "enable_reply_approvals": {
                        "type": "boolean"
                      },
                      "link_attachment": {
                        "type": "string",
                        "format": "uri"
                      },
                      "poll_attachment": {
                        "type": "object",
                        "properties": {
                          "option_a": {
                            "type": "string",
                            "minLength": 1,
                            "maxLength": 25
                          },
                          "option_b": {
                            "type": "string",
                            "minLength": 1,
                            "maxLength": 25
                          },
                          "option_c": {
                            "type": "string",
                            "minLength": 1,
                            "maxLength": 25
                          },
                          "option_d": {
                            "type": "string",
                            "minLength": 1,
                            "maxLength": 25
                          }
                        },
                        "required": ["option_a", "option_b"],
                        "additionalProperties": false
                      },
                      "gif_attachment": {
                        "type": "object",
                        "properties": {
                          "gif_id": {
                            "type": "string",
                            "minLength": 1,
                            "maxLength": 256
                          },
                          "provider": {
                            "type": "string",
                            "const": "GIPHY"
                          }
                        },
                        "required": ["gif_id", "provider"],
                        "additionalProperties": false
                      },
                      "text_attachment": {
                        "type": "object",
                        "properties": {
                          "plaintext": {
                            "type": "string",
                            "minLength": 1,
                            "maxLength": 10000
                          },
                          "link_attachment_url": {
                            "type": "string",
                            "format": "uri"
                          },
                          "text_with_styling_info": {
                            "maxItems": 100,
                            "type": "array",
                            "items": {
                              "type": "object",
                              "properties": {
                                "offset": {
                                  "type": "integer",
                                  "minimum": 0,
                                  "maximum": 9007199254740991
                                },
                                "length": {
                                  "type": "integer",
                                  "exclusiveMinimum": 0,
                                  "maximum": 9007199254740991
                                },
                                "styling_info": {
                                  "minItems": 1,
                                  "type": "array",
                                  "items": {
                                    "type": "string",
                                    "enum": [
                                      "bold",
                                      "italic",
                                      "highlight",
                                      "underline",
                                      "strikethrough"
                                    ]
                                  }
                                }
                              },
                              "required": ["offset", "length", "styling_info"],
                              "additionalProperties": false
                            }
                          }
                        },
                        "required": ["plaintext"],
                        "additionalProperties": false
                      },
                      "topic_tag": {
                        "type": "string",
                        "minLength": 1,
                        "maxLength": 50
                      },
                      "text_entities": {
                        "maxItems": 10,
                        "type": "array",
                        "items": {
                          "type": "object",
                          "properties": {
                            "entity_type": {
                              "type": "string",
                              "enum": ["SPOILER", "spoiler"]
                            },
                            "offset": {
                              "type": "integer",
                              "minimum": 0,
                              "maximum": 9007199254740991
                            },
                            "length": {
                              "type": "integer",
                              "exclusiveMinimum": 0,
                              "maximum": 9007199254740991
                            }
                          },
                          "required": ["entity_type", "offset", "length"],
                          "additionalProperties": false
                        }
                      },
                      "is_spoiler_media": {
                        "type": "boolean"
                      },
                      "is_ghost_post": {
                        "type": "boolean"
                      },
                      "location_id": {
                        "type": "string",
                        "minLength": 1,
                        "maxLength": 256
                      },
                      "allowlisted_country_codes": {
                        "minItems": 1,
                        "maxItems": 249,
                        "type": "array",
                        "items": {
                          "type": "string",
                          "pattern": "^[A-Z]{2}$"
                        }
                      },
                      "crossreshare_to_ig": {
                        "type": "boolean"
                      },
                      "crossreshare_to_ig_dark_mode": {
                        "type": "boolean"
                      },
                      "auto_publish_text": {
                        "type": "boolean"
                      },
                      "media_options": {
                        "maxItems": 20,
                        "type": "array",
                        "items": {
                          "type": "object",
                          "properties": {
                            "asset_id": {
                              "type": "integer",
                              "exclusiveMinimum": 0,
                              "maximum": 9007199254740991
                            },
                            "alt_text": {
                              "type": "string",
                              "minLength": 1,
                              "maxLength": 1000
                            },
                            "is_spoiler_media": {
                              "type": "boolean"
                            }
                          },
                          "required": ["asset_id"],
                          "additionalProperties": false
                        }
                      }
                    },
                    "required": ["post_type"],
                    "additionalProperties": false
                  }
                },
                "required": ["platform"],
                "additionalProperties": false
              },
              {
                "type": "object",
                "properties": {
                  "platform": {
                    "type": "string",
                    "const": "youtube"
                  },
                  "publish_options": {
                    "type": "object",
                    "properties": {
                      "post_type": {
                        "type": "string",
                        "const": "VIDEO"
                      },
                      "title": {
                        "type": "string",
                        "minLength": 1,
                        "maxLength": 100
                      },
                      "description": {
                        "type": "string",
                        "maxLength": 5000
                      },
                      "tags": {
                        "maxItems": 100,
                        "type": "array",
                        "items": {
                          "type": "string",
                          "minLength": 1,
                          "maxLength": 500
                        }
                      },
                      "category_id": {
                        "anyOf": [
                          {
                            "type": "string",
                            "minLength": 0,
                            "maxLength": 0
                          },
                          {
                            "type": "string",
                            "pattern": "^\\d+$"
                          }
                        ]
                      },
                      "default_language": {
                        "type": "string",
                        "minLength": 2,
                        "maxLength": 35
                      },
                      "localizations": {
                        "type": "object",
                        "propertyNames": {
                          "type": "string"
                        },
                        "additionalProperties": {
                          "type": "object",
                          "properties": {
                            "title": {
                              "type": "string",
                              "minLength": 1,
                              "maxLength": 100
                            },
                            "description": {
                              "type": "string",
                              "maxLength": 5000
                            }
                          },
                          "required": ["title", "description"],
                          "additionalProperties": false
                        }
                      },
                      "privacy_status": {
                        "type": "string",
                        "enum": ["private", "unlisted", "public"]
                      },
                      "cancellation_mode": {
                        "type": "string",
                        "enum": ["DELETE", "UNSCHEDULE_KEEP_PRIVATE"]
                      },
                      "license": {
                        "type": "string",
                        "enum": ["youtube", "creativeCommon"]
                      },
                      "embeddable": {
                        "type": "boolean"
                      },
                      "public_stats_viewable": {
                        "type": "boolean"
                      },
                      "self_declared_made_for_kids": {
                        "type": "boolean"
                      },
                      "contains_synthetic_media": {
                        "type": "boolean"
                      },
                      "has_paid_product_placement": {
                        "type": "boolean"
                      },
                      "recording_date": {
                        "type": "string",
                        "format": "date-time",
                        "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d(?::[0-5]\\d(?:\\.\\d+)?)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$"
                      },
                      "notify_subscribers": {
                        "type": "boolean"
                      },
                      "thumbnail_asset_id": {
                        "type": "integer",
                        "exclusiveMinimum": 0,
                        "maximum": 9007199254740991
                      },
                      "surface_expectation": {
                        "type": "string",
                        "const": "SHORT"
                      },
                      "brand_partner": {
                        "type": "object",
                        "properties": {
                          "channel_id": {
                            "type": "string",
                            "pattern": "^UC[A-Za-z0-9_-]+$"
                          },
                          "channel_handle": {
                            "type": "string",
                            "pattern": "^@[A-Za-z0-9._-]+$"
                          }
                        },
                        "additionalProperties": false
                      }
                    },
                    "required": ["post_type", "title", "privacy_status", "cancellation_mode"],
                    "additionalProperties": false
                  }
                },
                "required": ["platform"],
                "additionalProperties": false
              }
            ]
          }
        },
        "required": ["id", "expected_version", "patch"],
        "$schema": "http://json-schema.org/draft-07/schema#",
        "additionalProperties": false
      },
      "annotations": {
        "readOnlyHint": false,
        "destructiveHint": false,
        "idempotentHint": true,
        "openWorldHint": true
      },
      "execution": {
        "taskSupport": "forbidden"
      },
      "transports": ["stdio", "http"],
      "requirements": [
        {
          "path": "/studio-api/scheduled-posts/update",
          "capability": "agent:publish",
          "minimumRole": "editor",
          "scope": "workspace",
          "completionTruth": "terminal publication outcome"
        }
      ]
    },
    {
      "name": "sosoapi_upload_asset",
      "title": "Upload a local image or video",
      "description": "Upload a local image or video file into a Workspace asset library and register it as an asset. Only real PNG/JPEG/GIF/WebP/MP4/MOV/WebM/MKV/MPEG files up to 500 MiB from the working directory, temp folder, Pictures/Movies/Videos or SOSOAPI_UPLOAD_ROOTS are accepted; dot-files and dot-folders are refused. Returns the asset id and URL for Scheduled Post media.",
      "inputSchema": {
        "type": "object",
        "properties": {
          "workspace_id": {
            "type": "string",
            "format": "uuid",
            "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
          },
          "file_path": {
            "type": "string",
            "minLength": 1
          },
          "idempotency_key": {
            "type": "string",
            "minLength": 8,
            "maxLength": 160
          },
          "content_type": {
            "type": "string",
            "minLength": 1
          },
          "title": {
            "type": "string",
            "maxLength": 200
          },
          "description": {
            "type": "string",
            "maxLength": 2000
          },
          "tags": {
            "maxItems": 50,
            "type": "array",
            "items": {
              "type": "string",
              "maxLength": 64
            }
          },
          "metadata": {
            "type": "object",
            "propertyNames": {
              "type": "string"
            },
            "additionalProperties": {}
          }
        },
        "required": ["workspace_id", "file_path", "idempotency_key"],
        "$schema": "http://json-schema.org/draft-07/schema#"
      },
      "annotations": {
        "readOnlyHint": false,
        "destructiveHint": false,
        "idempotentHint": true,
        "openWorldHint": true
      },
      "execution": {
        "taskSupport": "forbidden"
      },
      "transports": ["stdio"],
      "requirements": [
        {
          "path": "/assets-api/upload/sign",
          "capability": "agent:operate",
          "minimumRole": "editor",
          "scope": "workspace",
          "completionTruth": "synchronous_http_response"
        },
        {
          "path": "/assets-api/upload/complete",
          "capability": "agent:operate",
          "minimumRole": "editor",
          "scope": "workspace",
          "completionTruth": "synchronous_http_response"
        }
      ]
    }
  ],
  "contentSha256": "2585311bc8eb67a6b62b4302b2983ff0dff2ad7403837959ead0b1b4beb743de"
}
