Skip to content

pinterest_media_find

Find one shop's photos or an attached listing’s photos, with Pinterest eligibility and reasons.

For agents: this page as Markdown.

Group
Pinterest
Granted by
pinterest:read
Team permission
workspace.read — any member of the team
Effect
Reads only; changes nothing.

Description

Find one shop's photos or an attached listing’s photos, with Pinterest eligibility and reasons. Without listing_id the photos are the shop's; with several shops name the shop_id. Use media ids to prepare a Pin.

Parameters

Name Type Required Description
cursor string no Use next_cursor from the previous page. Omit for the first page.
listing_id string no The id returned by a Tusella read.
shop_id string no The shop whose photos to list when no listing is given. Omit it when the team has one shop.

Example

Arguments
{}
Result
{
  "result": {
    "items": [
      {
        "media_asset_id": "00000000-0000-0000-0000-000000000001",
        "width": 928,
        "height": 928,
        "alt_text": "Wood",
        "alt_text_truncated": false,
        "eligible": true,
        "reason_code": null
      }
    ],
    "next_cursor": null,
    "complete": true
  }
}

Schemas

Exactly what the server declares to MCP clients. The input_schema is what the server validates arguments against.

Input schema· 22 lines of JSON
{
  "additionalProperties": false,
  "properties": {
    "cursor": {
      "description": "Use next_cursor from the previous page. Omit for the first page.",
      "maxLength": 2048,
      "type": "string"
    },
    "listing_id": {
      "description": "The id returned by a Tusella read.",
      "maxLength": 64,
      "type": "string"
    },
    "shop_id": {
      "description": "The shop whose photos to list when no listing is given. Omit it when the team has one shop.",
      "maxLength": 64,
      "type": "string"
    }
  },
  "required": [],
  "type": "object"
}
Output schema· 77 lines of JSON
{
  "additionalProperties": false,
  "properties": {
    "complete": {
      "type": "boolean"
    },
    "items": {
      "items": {
        "additionalProperties": false,
        "properties": {
          "alt_text": {
            "maxLength": 120,
            "type": "string"
          },
          "alt_text_truncated": {
            "type": "boolean"
          },
          "eligible": {
            "type": "boolean"
          },
          "height": {
            "type": [
              "integer",
              "null"
            ]
          },
          "media_asset_id": {
            "maxLength": 64,
            "type": "string"
          },
          "reason_code": {
            "maxLength": 64,
            "type": [
              "string",
              "null"
            ]
          },
          "width": {
            "type": [
              "integer",
              "null"
            ]
          }
        },
        "required": [
          "media_asset_id",
          "width",
          "height",
          "alt_text",
          "alt_text_truncated",
          "eligible",
          "reason_code"
        ],
        "type": "object"
      },
      "maxItems": 8,
      "type": "array"
    },
    "next_cursor": {
      "maxLength": 2048,
      "type": [
        "string",
        "null"
      ]
    }
  },
  "required": [
    "items",
    "next_cursor",
    "complete"
  ],
  "type": "object",
  "x-result-size-budget": {
    "max_bytes": 19000,
    "strategy": "row-pagination"
  }
}