WebMCP

DeveloperWebMCP verified

cesium-browser-agent.pages.dev WebMCP tools

Cesium Agent Lab

15 tools1 methodsspec API surface

What can an agent do with cesium-browser-agent.pages.dev WebMCP tools?

Cesium Agent Lab This page documents every listed tool, the action or answer it provides, its installation command, and the input fields an agent should send.

WebMCP tools on cesium-browser-agent.pages.dev

Tool 1 of 15WebMCPAction

flyTo

Animate the camera to a geographic location. Use for visible navigation requested by the user. Returns { success: boolean, message?: string, error?: string }.

How to install

Open the cesium-browser-agent.pages.dev website and ask your browser agent to use flyTo

Install browse first, then run the command in a terminal. WebMCP tools run directly on the website and do not need a package install.

Run with an agent

Use the flyTo tool on cesium-browser-agent.pages.dev with longitude: <number>, latitude: <number>, height: <number>, heading: <number>, pitch: <number>, duration: <number>. Return the structured result and cite the source page.

Input contract

  • longitude number Longitude in decimal degrees
  • latitude number Latitude in decimal degrees
  • height number Height above the ellipsoid in meters
  • heading number
  • pitch number
  • duration number

Open the source definition

Tool 2 of 15WebMCPAction

setView

Set the camera position immediately without animation. Use for deterministic setup or instant view changes. Returns { success: boolean, message?: string, error?: string }.

How to install

Open the cesium-browser-agent.pages.dev website and ask your browser agent to use setView

Install browse first, then run the command in a terminal. WebMCP tools run directly on the website and do not need a package install.

Run with an agent

Use the setView tool on cesium-browser-agent.pages.dev with longitude: <number>, latitude: <number>, height: <number>, heading: <number>, pitch: <number>, roll: <number>. Return the structured result and cite the source page.

Input contract

  • longitude number Longitude in decimal degrees
  • latitude number Latitude in decimal degrees
  • height number Height above the ellipsoid in meters
  • heading number
  • pitch number
  • roll number

Open the source definition

Tool 3 of 15WebMCPAnswer

getView

Get current camera position (longitude, latitude, height, angles) Returns { success, data: { longitude, latitude, height, heading, pitch, roll }, message? }.

How to install

Open the cesium-browser-agent.pages.dev website and ask your browser agent to use getView

Install browse first, then run the command in a terminal. WebMCP tools run directly on the website and do not need a package install.

Run with an agent

Use the getView tool on cesium-browser-agent.pages.dev. Return the structured result and cite the source page.

Input contract

    Open the source definition

    Tool 4 of 15WebMCPAction

    addMarker

    Add a point marker at coordinates, returns entityId for later reference Returns { success, data: { entityId }, message? }; keep entityId for removeEntity.

    How to install

    Open the cesium-browser-agent.pages.dev website and ask your browser agent to use addMarker

    Install browse first, then run the command in a terminal. WebMCP tools run directly on the website and do not need a package install.

    Run with an agent

    Use the addMarker tool on cesium-browser-agent.pages.dev with longitude: <number>, latitude: <number>, label: <string>, color: <string>, size: <number>, id: <string>. Return the structured result and cite the source page.

    Input contract

    • longitude number Longitude in decimal degrees
    • latitude number Latitude in decimal degrees
    • label string
    • color string CSS color such as #3B82F6 or rgba(59,130,246,0.8)
    • size number
    • id string

    Open the source definition

    Tool 5 of 15WebMCPAction

    addPolyline

    Draw a polyline (path/route) on the map, returns entityId Returns { success, data: { entityId }, message? }; keep entityId for removeEntity.

    How to install

    Open the cesium-browser-agent.pages.dev website and ask your browser agent to use addPolyline

    Install browse first, then run the command in a terminal. WebMCP tools run directly on the website and do not need a package install.

    Run with an agent

    Use the addPolyline tool on cesium-browser-agent.pages.dev with coordinates: <array>, color: <string>, width: <number>, clampToGround: <boolean>, label: <string>. Return the structured result and cite the source page.

    Input contract

    • coordinates array
    • color string CSS color such as #3B82F6 or rgba(59,130,246,0.8)
    • width number
    • clampToGround boolean
    • label string

    Open the source definition

    Tool 6 of 15WebMCPAction

    addPolygon

    Draw a polygon area on the map, returns entityId Returns { success, data: { entityId }, message? }; keep entityId for removeEntity.

    How to install

    Open the cesium-browser-agent.pages.dev website and ask your browser agent to use addPolygon

    Install browse first, then run the command in a terminal. WebMCP tools run directly on the website and do not need a package install.

    Run with an agent

    Use the addPolygon tool on cesium-browser-agent.pages.dev with coordinates: <array>, color: <string>, outlineColor: <string>, opacity: <number>, extrudedHeight: <number>, clampToGround: <boolean>, label: <string>. Return the structured result and cite the source page.

    Input contract

    • coordinates array
    • color string CSS color such as #3B82F6 or rgba(59,130,246,0.8)
    • outlineColor string CSS color such as #3B82F6 or rgba(59,130,246,0.8)
    • opacity number
    • extrudedHeight number
    • clampToGround boolean
    • label string

    Open the source definition

    Tool 7 of 15WebMCPAction

    addLabel

    Add text labels for GeoJSON features (display property values) Returns { success, data: { labelCount: integer }, message? }.

    How to install

    Open the cesium-browser-agent.pages.dev website and ask your browser agent to use addLabel

    Install browse first, then run the command in a terminal. WebMCP tools run directly on the website and do not need a package install.

    Run with an agent

    Use the addLabel tool on cesium-browser-agent.pages.dev with data: <object>, field: <string>, style: <object>. Return the structured result and cite the source page.

    Input contract

    • data object GeoJSON FeatureCollection containing Point, LineString, or Polygon features
    • field string
    • style object

    Open the source definition

    Tool 8 of 15WebMCPAction

    addGeoJsonLayer

    Add a GeoJSON data layer to the map (Point/Line/Polygon with styling) Returns { success, data: { id, name, type, visible, color, dataRefId? }, message? }; use id with highlight.

    How to install

    Open the cesium-browser-agent.pages.dev website and ask your browser agent to use addGeoJsonLayer

    Install browse first, then run the command in a terminal. WebMCP tools run directly on the website and do not need a package install.

    Run with an agent

    Use the addGeoJsonLayer tool on cesium-browser-agent.pages.dev with id: <string>, name: <string>, data: <object>, style: <object>. Return the structured result and cite the source page.

    Input contract

    • id string
    • name string
    • data object GeoJSON FeatureCollection containing Point, LineString, or Polygon features
    • style object

    Open the source definition

    Tool 9 of 15WebMCPAction

    setBasemap

    Switch basemap style Returns { success, data: { basemap }, message? }.

    How to install

    Open the cesium-browser-agent.pages.dev website and ask your browser agent to use setBasemap

    Install browse first, then run the command in a terminal. WebMCP tools run directly on the website and do not need a package install.

    Run with an agent

    Use the setBasemap tool on cesium-browser-agent.pages.dev with basemap: <string>. Return the structured result and cite the source page.

    Input contract

    • basemap string Basemap type: dark, satellite, standard, osm, arcgis, light

    Open the source definition

    Tool 10 of 15WebMCPAction

    removeEntity

    Remove a single entity by its entityId Returns { success, message? } or { success: false, error } when entityId is not found.

    How to install

    Open the cesium-browser-agent.pages.dev website and ask your browser agent to use removeEntity

    Install browse first, then run the command in a terminal. WebMCP tools run directly on the website and do not need a package install.

    Run with an agent

    Use the removeEntity tool on cesium-browser-agent.pages.dev with entityId: <string>. Return the structured result and cite the source page.

    Input contract

    • entityId string

    Open the source definition

    Tool 11 of 15WebMCPAction

    clearAll

    Clear all layers, entities, animations, and trajectories (reset scene) Returns { success, data: { removedLayers, removedEntities }, message? }.

    How to install

    Open the cesium-browser-agent.pages.dev website and ask your browser agent to use clearAll

    Install browse first, then run the command in a terminal. WebMCP tools run directly on the website and do not need a package install.

    Run with an agent

    Use the clearAll tool on cesium-browser-agent.pages.dev. Return the structured result and cite the source page.

    Input contract

      Open the source definition

      Tool 12 of 15WebMCPAction

      geocode

      Convert address/place name to geographic coordinates (uses OSM Nominatim, no API key needed) Returns { success, longitude?, latitude?, displayName?, boundingBox?, message? }.

      How to install

      Open the cesium-browser-agent.pages.dev website and ask your browser agent to use geocode

      Install browse first, then run the command in a terminal. WebMCP tools run directly on the website and do not need a package install.

      Run with an agent

      Use the geocode tool on cesium-browser-agent.pages.dev with address: <string>, countryCode: <string>. Return the structured result and cite the source page.

      Input contract

      • address string
      • countryCode string

      Open the source definition

      Tool 13 of 15WebMCPAction

      highlight

      Highlight features of a layer Returns { success: boolean, message?: string, error?: string }.

      How to install

      Open the cesium-browser-agent.pages.dev website and ask your browser agent to use highlight

      Install browse first, then run the command in a terminal. WebMCP tools run directly on the website and do not need a package install.

      Run with an agent

      Use the highlight tool on cesium-browser-agent.pages.dev with layerId: <string>, featureIndex: <integer>, color: <string>. Return the structured result and cite the source page.

      Input contract

      • layerId string
      • featureIndex integer
      • color string CSS color such as #3B82F6 or rgba(59,130,246,0.8)

      Open the source definition

      Tool 14 of 15WebMCPAction

      measure

      Measure distance or area between coordinates Returns { success, data: { mode, value, unit, segments?, id? }, message? }.

      How to install

      Open the cesium-browser-agent.pages.dev website and ask your browser agent to use measure

      Install browse first, then run the command in a terminal. WebMCP tools run directly on the website and do not need a package install.

      Run with an agent

      Use the measure tool on cesium-browser-agent.pages.dev with mode: <string>, positions: <array>, showOnMap: <boolean>, id: <string>. Return the structured result and cite the source page.

      Input contract

      • mode string
      • positions array
      • showOnMap boolean
      • id string

      Open the source definition

      Tool 15 of 15WebMCPAction

      screenshot

      Capture current map view (returns base64 PNG) Returns { success, data: { dataUrl, width, height }, message? }; dataUrl is a base64 PNG.

      How to install

      Open the cesium-browser-agent.pages.dev website and ask your browser agent to use screenshot

      Install browse first, then run the command in a terminal. WebMCP tools run directly on the website and do not need a package install.

      Run with an agent

      Use the screenshot tool on cesium-browser-agent.pages.dev. Return the structured result and cite the source page.

      Input contract

        Open the source definition