Appium · Capability

Appium Server API — Navigation

Appium Server API — Navigation. 2 operations. Lead operation: Appium Get Current URL. Self-contained Naftiko capability covering one Appium business surface.

Run with Naftiko AppiumNavigation

What You Can Do

GET
Geturl — Appium Get Current URL
/v1/session/{sessionid}/url
POST
Seturl — Appium Navigate to URL
/v1/session/{sessionid}/url

MCP Tools

appium-get-current-url

Appium Get Current URL

read-only idempotent
appium-navigate-url

Appium Navigate to URL

Capability Spec

server-navigation.yaml Raw ↑
naftiko: 1.0.0-alpha2
info:
  label: Appium Server API — Navigation
  description: 'Appium Server API — Navigation. 2 operations. Lead operation: Appium Get Current URL. Self-contained Naftiko
    capability covering one Appium business surface.'
  tags:
  - Appium
  - Navigation
  created: '2026-05-19'
  modified: '2026-05-19'
binds:
- namespace: env
  keys:
    APPIUM_API_KEY: APPIUM_API_KEY
capability:
  consumes:
  - type: http
    namespace: server-navigation
    baseUri: http://localhost:4723
    description: Appium Server API — Navigation business capability. Self-contained, no shared references.
    resources:
    - name: session-sessionId-url
      path: /session/{sessionId}/url
      operations:
      - name: geturl
        method: GET
        description: Appium Get Current URL
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
      - name: seturl
        method: POST
        description: Appium Navigate to URL
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: body
          in: body
          type: object
          description: Request body (JSON).
          required: true
  exposes:
  - type: rest
    namespace: server-navigation-rest
    port: 8080
    description: REST adapter for Appium Server API — Navigation. One Spectral-compliant resource per consumed operation,
      prefixed with /v1.
    resources:
    - path: /v1/session/{sessionid}/url
      name: session-sessionid-url
      description: REST surface for session-sessionId-url.
      operations:
      - method: GET
        name: geturl
        description: Appium Get Current URL
        call: server-navigation.geturl
        outputParameters:
        - type: object
          mapping: $.
      - method: POST
        name: seturl
        description: Appium Navigate to URL
        call: server-navigation.seturl
        with:
          body: rest.body
        outputParameters:
        - type: object
          mapping: $.
  - type: mcp
    namespace: server-navigation-mcp
    port: 9090
    transport: http
    description: MCP adapter for Appium Server API — Navigation. One tool per consumed operation, routed inline through this
      capability's consumes block.
    tools:
    - name: appium-get-current-url
      description: Appium Get Current URL
      hints:
        readOnly: true
        destructive: false
        idempotent: true
      call: server-navigation.geturl
      outputParameters:
      - type: object
        mapping: $.
    - name: appium-navigate-url
      description: Appium Navigate to URL
      hints:
        readOnly: false
        destructive: false
        idempotent: false
      call: server-navigation.seturl
      with:
        body: tools.body
      outputParameters:
      - type: object
        mapping: $.