← WebMCP Directory

Tool tree

swapi.build

Developer ToolsTools verified
Website
Explore Star Wars together with a browser agent using experimental WebMCP tools.
Explore capabilities

    page: Every page

    sw_listAction

    List all Star Wars records of a resource. Opens the list on this page and clears its search filter. Returns complete records.

    View tool JSON
    {
      "name": "sw_list",
      "kind": "act",
      "impl": "imperative",
      "description": "List all Star Wars records of a resource. Opens the list on this page and clears its search filter. Returns complete records.",
      "inputSchema": {
        "type": "object",
        "properties": {
          "resource": {
            "type": "string",
            "enum": [
              "PEOPLE",
              "FILMS",
              "PLANETS",
              "SPECIES",
              "STARSHIPS",
              "VEHICLES"
            ]
          }
        },
        "required": [
          "resource"
        ],
        "additionalProperties": false
      },
      "page": "/docs/webmcp"
    }
    sw_searchAction

    Search Star Wars records by case-insensitive name fragment (title for FILMS). Opens and fills the search on this page. Returns complete matching records.

    View tool JSON
    {
      "name": "sw_search",
      "kind": "act",
      "impl": "imperative",
      "description": "Search Star Wars records by case-insensitive name fragment (title for FILMS). Opens and fills the search on this page. Returns complete matching records.",
      "inputSchema": {
        "type": "object",
        "properties": {
          "resource": {
            "type": "string",
            "enum": [
              "PEOPLE",
              "FILMS",
              "PLANETS",
              "SPECIES",
              "STARSHIPS",
              "VEHICLES"
            ]
          },
          "query": {
            "type": "string",
            "description": "Name/title fragment; empty string matches all records."
          }
        },
        "required": [
          "resource",
          "query"
        ],
        "additionalProperties": false
      },
      "page": "/docs/webmcp"
    }
    sw_getAction

    Get a Star Wars record by its URL record ID, not film episode number (FILMS 1 is A New Hope). Opens its details on this page.

    View tool JSON
    {
      "name": "sw_get",
      "kind": "act",
      "impl": "imperative",
      "description": "Get a Star Wars record by its URL record ID, not film episode number (FILMS 1 is A New Hope). Opens its details on this page.",
      "inputSchema": {
        "type": "object",
        "properties": {
          "resource": {
            "type": "string",
            "enum": [
              "PEOPLE",
              "FILMS",
              "PLANETS",
              "SPECIES",
              "STARSHIPS",
              "VEHICLES"
            ]
          },
          "id": {
            "type": "integer",
            "minimum": 1,
            "maximum": 9007199254740991
          }
        },
        "required": [
          "resource",
          "id"
        ],
        "additionalProperties": false
      },
      "page": "/docs/webmcp"
    }
    sw_randomAction

    Select one random Star Wars record and open its details on this page. Returns the same selected record. Each call may select a different record.

    View tool JSON
    {
      "name": "sw_random",
      "kind": "act",
      "impl": "imperative",
      "description": "Select one random Star Wars record and open its details on this page. Returns the same selected record. Each call may select a different record.",
      "inputSchema": {
        "type": "object",
        "properties": {
          "resource": {
            "type": "string",
            "enum": [
              "PEOPLE",
              "FILMS",
              "PLANETS",
              "SPECIES",
              "STARSHIPS",
              "VEHICLES"
            ]
          }
        },
        "required": [
          "resource"
        ],
        "additionalProperties": false
      },
      "page": "/docs/webmcp"
    }