Juniper Networks · Capability

Juniper Networks Juniper Apstra API — Blueprints

Juniper Networks Juniper Apstra API — Blueprints. 7 operations. Lead operation: Juniper Networks List all blueprints. Self-contained Naftiko capability covering one Juniper business surface.

Run with Naftiko JuniperBlueprints

What You Can Do

GET
Listblueprints — Juniper Networks List all blueprints
/v1/blueprints
POST
Createblueprint — Juniper Networks Create a blueprint
/v1/blueprints
GET
Getblueprint — Juniper Networks Get blueprint details
/v1/blueprints/{blueprint-id}
PUT
Updateblueprint — Juniper Networks Update a blueprint
/v1/blueprints/{blueprint-id}
DELETE
Deleteblueprint — Juniper Networks Delete a blueprint
/v1/blueprints/{blueprint-id}
PUT
Deployblueprint — Juniper Networks Deploy blueprint
/v1/blueprints/{blueprint-id}/deploy
GET
Listblueprintnodes — Juniper Networks List blueprint nodes
/v1/blueprints/{blueprint-id}/nodes

MCP Tools

juniper-networks-list-all-blueprints

Juniper Networks List all blueprints

read-only idempotent
juniper-networks-create-blueprint

Juniper Networks Create a blueprint

juniper-networks-get-blueprint-details

Juniper Networks Get blueprint details

read-only idempotent
juniper-networks-update-blueprint

Juniper Networks Update a blueprint

idempotent
juniper-networks-delete-blueprint

Juniper Networks Delete a blueprint

idempotent
juniper-networks-deploy-blueprint

Juniper Networks Deploy blueprint

idempotent
juniper-networks-list-blueprint-nodes

Juniper Networks List blueprint nodes

read-only idempotent

Capability Spec

apstra-blueprints.yaml Raw ↑
naftiko: 1.0.0-alpha2
info:
  label: Juniper Networks Juniper Apstra API — Blueprints
  description: 'Juniper Networks Juniper Apstra API — Blueprints. 7 operations. Lead operation: Juniper Networks List all
    blueprints. Self-contained Naftiko capability covering one Juniper business surface.'
  tags:
  - Juniper
  - Blueprints
  created: '2026-05-19'
  modified: '2026-05-19'
binds:
- namespace: env
  keys:
    JUNIPER_API_KEY: JUNIPER_API_KEY
capability:
  consumes:
  - type: http
    namespace: apstra-blueprints
    baseUri: https://{apstra_server}/api
    description: Juniper Networks Juniper Apstra API — Blueprints business capability. Self-contained, no shared references.
    resources:
    - name: blueprints
      path: /blueprints
      operations:
      - name: listblueprints
        method: GET
        description: Juniper Networks List all blueprints
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
      - name: createblueprint
        method: POST
        description: Juniper Networks Create a blueprint
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: body
          in: body
          type: object
          description: Request body (JSON).
          required: true
    - name: blueprints-blueprint_id
      path: /blueprints/{blueprint_id}
      operations:
      - name: getblueprint
        method: GET
        description: Juniper Networks Get blueprint details
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
      - name: updateblueprint
        method: PUT
        description: Juniper Networks Update a blueprint
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: body
          in: body
          type: object
          description: Request body (JSON).
          required: true
      - name: deleteblueprint
        method: DELETE
        description: Juniper Networks Delete a blueprint
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
    - name: blueprints-blueprint_id-deploy
      path: /blueprints/{blueprint_id}/deploy
      operations:
      - name: deployblueprint
        method: PUT
        description: Juniper Networks Deploy blueprint
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: body
          in: body
          type: object
          description: Request body (JSON).
          required: true
    - name: blueprints-blueprint_id-nodes
      path: /blueprints/{blueprint_id}/nodes
      operations:
      - name: listblueprintnodes
        method: GET
        description: Juniper Networks List blueprint nodes
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: node_type
          in: query
          type: string
          description: Filter by node type
    authentication:
      type: apikey
      key: AuthToken
      value: '{{env.JUNIPER_API_KEY}}'
      placement: header
  exposes:
  - type: rest
    namespace: apstra-blueprints-rest
    port: 8080
    description: REST adapter for Juniper Networks Juniper Apstra API — Blueprints. One Spectral-compliant resource per consumed
      operation, prefixed with /v1.
    resources:
    - path: /v1/blueprints
      name: blueprints
      description: REST surface for blueprints.
      operations:
      - method: GET
        name: listblueprints
        description: Juniper Networks List all blueprints
        call: apstra-blueprints.listblueprints
        outputParameters:
        - type: object
          mapping: $.
      - method: POST
        name: createblueprint
        description: Juniper Networks Create a blueprint
        call: apstra-blueprints.createblueprint
        with:
          body: rest.body
        outputParameters:
        - type: object
          mapping: $.
    - path: /v1/blueprints/{blueprint-id}
      name: blueprints-blueprint-id
      description: REST surface for blueprints-blueprint_id.
      operations:
      - method: GET
        name: getblueprint
        description: Juniper Networks Get blueprint details
        call: apstra-blueprints.getblueprint
        outputParameters:
        - type: object
          mapping: $.
      - method: PUT
        name: updateblueprint
        description: Juniper Networks Update a blueprint
        call: apstra-blueprints.updateblueprint
        with:
          body: rest.body
        outputParameters:
        - type: object
          mapping: $.
      - method: DELETE
        name: deleteblueprint
        description: Juniper Networks Delete a blueprint
        call: apstra-blueprints.deleteblueprint
        outputParameters:
        - type: object
          mapping: $.
    - path: /v1/blueprints/{blueprint-id}/deploy
      name: blueprints-blueprint-id-deploy
      description: REST surface for blueprints-blueprint_id-deploy.
      operations:
      - method: PUT
        name: deployblueprint
        description: Juniper Networks Deploy blueprint
        call: apstra-blueprints.deployblueprint
        with:
          body: rest.body
        outputParameters:
        - type: object
          mapping: $.
    - path: /v1/blueprints/{blueprint-id}/nodes
      name: blueprints-blueprint-id-nodes
      description: REST surface for blueprints-blueprint_id-nodes.
      operations:
      - method: GET
        name: listblueprintnodes
        description: Juniper Networks List blueprint nodes
        call: apstra-blueprints.listblueprintnodes
        with:
          node_type: rest.node_type
        outputParameters:
        - type: object
          mapping: $.
  - type: mcp
    namespace: apstra-blueprints-mcp
    port: 9090
    transport: http
    description: MCP adapter for Juniper Networks Juniper Apstra API — Blueprints. One tool per consumed operation, routed
      inline through this capability's consumes block.
    tools:
    - name: juniper-networks-list-all-blueprints
      description: Juniper Networks List all blueprints
      hints:
        readOnly: true
        destructive: false
        idempotent: true
      call: apstra-blueprints.listblueprints
      outputParameters:
      - type: object
        mapping: $.
    - name: juniper-networks-create-blueprint
      description: Juniper Networks Create a blueprint
      hints:
        readOnly: false
        destructive: false
        idempotent: false
      call: apstra-blueprints.createblueprint
      with:
        body: tools.body
      outputParameters:
      - type: object
        mapping: $.
    - name: juniper-networks-get-blueprint-details
      description: Juniper Networks Get blueprint details
      hints:
        readOnly: true
        destructive: false
        idempotent: true
      call: apstra-blueprints.getblueprint
      outputParameters:
      - type: object
        mapping: $.
    - name: juniper-networks-update-blueprint
      description: Juniper Networks Update a blueprint
      hints:
        readOnly: false
        destructive: false
        idempotent: true
      call: apstra-blueprints.updateblueprint
      with:
        body: tools.body
      outputParameters:
      - type: object
        mapping: $.
    - name: juniper-networks-delete-blueprint
      description: Juniper Networks Delete a blueprint
      hints:
        readOnly: false
        destructive: true
        idempotent: true
      call: apstra-blueprints.deleteblueprint
      outputParameters:
      - type: object
        mapping: $.
    - name: juniper-networks-deploy-blueprint
      description: Juniper Networks Deploy blueprint
      hints:
        readOnly: false
        destructive: false
        idempotent: true
      call: apstra-blueprints.deployblueprint
      with:
        body: tools.body
      outputParameters:
      - type: object
        mapping: $.
    - name: juniper-networks-list-blueprint-nodes
      description: Juniper Networks List blueprint nodes
      hints:
        readOnly: true
        destructive: false
        idempotent: true
      call: apstra-blueprints.listblueprintnodes
      with:
        node_type: tools.node_type
      outputParameters:
      - type: object
        mapping: $.