F5 Networks · Capability

F5 BIG-IP iControl REST API — Virtual Servers

F5 BIG-IP iControl REST API — Virtual Servers. 6 operations. Lead operation: List All Virtual Servers. Self-contained Naftiko capability covering one F5 Networks business surface.

Run with Naftiko F5 NetworksVirtual Servers

What You Can Do

GET
Listvirtualservers — List All Virtual Servers
/v1/ltm/virtual
POST
Createvirtualserver — Create a Virtual Server
/v1/ltm/virtual
GET
Getvirtualserver — Get a Virtual Server
/v1/ltm/virtual/{virtualname}
PUT
Updatevirtualserver — Update a Virtual Server
/v1/ltm/virtual/{virtualname}
PATCH
Patchvirtualserver — Patch a Virtual Server
/v1/ltm/virtual/{virtualname}
DELETE
Deletevirtualserver — Delete a Virtual Server
/v1/ltm/virtual/{virtualname}

MCP Tools

list-all-virtual-servers

List All Virtual Servers

read-only idempotent
create-virtual-server

Create a Virtual Server

get-virtual-server

Get a Virtual Server

read-only idempotent
update-virtual-server

Update a Virtual Server

idempotent
patch-virtual-server

Patch a Virtual Server

idempotent
delete-virtual-server

Delete a Virtual Server

idempotent

Capability Spec

bigip-icontrol-rest-virtual-servers.yaml Raw ↑
naftiko: 1.0.0-alpha2
info:
  label: F5 BIG-IP iControl REST API — Virtual Servers
  description: 'F5 BIG-IP iControl REST API — Virtual Servers. 6 operations. Lead operation: List All Virtual Servers. Self-contained
    Naftiko capability covering one F5 Networks business surface.'
  tags:
  - F5 Networks
  - Virtual Servers
  created: '2026-05-19'
  modified: '2026-05-19'
binds:
- namespace: env
  keys:
    F5_NETWORKS_API_KEY: F5_NETWORKS_API_KEY
capability:
  consumes:
  - type: http
    namespace: bigip-icontrol-rest-virtual-servers
    baseUri: https://{bigip_host}/mgmt/tm
    description: F5 BIG-IP iControl REST API — Virtual Servers business capability. Self-contained, no shared references.
    resources:
    - name: ltm-virtual
      path: /ltm/virtual
      operations:
      - name: listvirtualservers
        method: GET
        description: List All Virtual Servers
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
      - name: createvirtualserver
        method: POST
        description: Create a Virtual Server
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: body
          in: body
          type: object
          description: Request body (JSON).
          required: true
    - name: ltm-virtual-virtualName
      path: /ltm/virtual/{virtualName}
      operations:
      - name: getvirtualserver
        method: GET
        description: Get a Virtual Server
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
      - name: updatevirtualserver
        method: PUT
        description: Update a Virtual Server
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: body
          in: body
          type: object
          description: Request body (JSON).
          required: true
      - name: patchvirtualserver
        method: PATCH
        description: Patch a Virtual Server
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: body
          in: body
          type: object
          description: Request body (JSON).
          required: true
      - name: deletevirtualserver
        method: DELETE
        description: Delete a Virtual Server
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
    authentication:
      type: apikey
      key: X-F5-Auth-Token
      value: '{{env.F5_NETWORKS_API_KEY}}'
      placement: header
  exposes:
  - type: rest
    namespace: bigip-icontrol-rest-virtual-servers-rest
    port: 8080
    description: REST adapter for F5 BIG-IP iControl REST API — Virtual Servers. One Spectral-compliant resource per consumed
      operation, prefixed with /v1.
    resources:
    - path: /v1/ltm/virtual
      name: ltm-virtual
      description: REST surface for ltm-virtual.
      operations:
      - method: GET
        name: listvirtualservers
        description: List All Virtual Servers
        call: bigip-icontrol-rest-virtual-servers.listvirtualservers
        outputParameters:
        - type: object
          mapping: $.
      - method: POST
        name: createvirtualserver
        description: Create a Virtual Server
        call: bigip-icontrol-rest-virtual-servers.createvirtualserver
        with:
          body: rest.body
        outputParameters:
        - type: object
          mapping: $.
    - path: /v1/ltm/virtual/{virtualname}
      name: ltm-virtual-virtualname
      description: REST surface for ltm-virtual-virtualName.
      operations:
      - method: GET
        name: getvirtualserver
        description: Get a Virtual Server
        call: bigip-icontrol-rest-virtual-servers.getvirtualserver
        outputParameters:
        - type: object
          mapping: $.
      - method: PUT
        name: updatevirtualserver
        description: Update a Virtual Server
        call: bigip-icontrol-rest-virtual-servers.updatevirtualserver
        with:
          body: rest.body
        outputParameters:
        - type: object
          mapping: $.
      - method: PATCH
        name: patchvirtualserver
        description: Patch a Virtual Server
        call: bigip-icontrol-rest-virtual-servers.patchvirtualserver
        with:
          body: rest.body
        outputParameters:
        - type: object
          mapping: $.
      - method: DELETE
        name: deletevirtualserver
        description: Delete a Virtual Server
        call: bigip-icontrol-rest-virtual-servers.deletevirtualserver
        outputParameters:
        - type: object
          mapping: $.
  - type: mcp
    namespace: bigip-icontrol-rest-virtual-servers-mcp
    port: 9090
    transport: http
    description: MCP adapter for F5 BIG-IP iControl REST API — Virtual Servers. One tool per consumed operation, routed inline
      through this capability's consumes block.
    tools:
    - name: list-all-virtual-servers
      description: List All Virtual Servers
      hints:
        readOnly: true
        destructive: false
        idempotent: true
      call: bigip-icontrol-rest-virtual-servers.listvirtualservers
      outputParameters:
      - type: object
        mapping: $.
    - name: create-virtual-server
      description: Create a Virtual Server
      hints:
        readOnly: false
        destructive: false
        idempotent: false
      call: bigip-icontrol-rest-virtual-servers.createvirtualserver
      with:
        body: tools.body
      outputParameters:
      - type: object
        mapping: $.
    - name: get-virtual-server
      description: Get a Virtual Server
      hints:
        readOnly: true
        destructive: false
        idempotent: true
      call: bigip-icontrol-rest-virtual-servers.getvirtualserver
      outputParameters:
      - type: object
        mapping: $.
    - name: update-virtual-server
      description: Update a Virtual Server
      hints:
        readOnly: false
        destructive: false
        idempotent: true
      call: bigip-icontrol-rest-virtual-servers.updatevirtualserver
      with:
        body: tools.body
      outputParameters:
      - type: object
        mapping: $.
    - name: patch-virtual-server
      description: Patch a Virtual Server
      hints:
        readOnly: false
        destructive: false
        idempotent: true
      call: bigip-icontrol-rest-virtual-servers.patchvirtualserver
      with:
        body: tools.body
      outputParameters:
      - type: object
        mapping: $.
    - name: delete-virtual-server
      description: Delete a Virtual Server
      hints:
        readOnly: false
        destructive: true
        idempotent: true
      call: bigip-icontrol-rest-virtual-servers.deletevirtualserver
      outputParameters:
      - type: object
        mapping: $.