SPX Graphics · Capability

SPX Graphics Control API — Files

SPX Graphics Control API — Files. 1 operations. Lead operation: Get File List. Self-contained Naftiko capability covering one Spx business surface.

Run with Naftiko SpxFiles

What You Can Do

GET
Getfilelist — Get File List
/v1/api/v1/getfilelist

MCP Tools

get-file-list

Get File List

read-only idempotent

Capability Spec

graphics-control-files.yaml Raw ↑
naftiko: 1.0.0-alpha2
info:
  label: SPX Graphics Control API — Files
  description: 'SPX Graphics Control API — Files. 1 operations. Lead operation: Get File List. Self-contained Naftiko capability
    covering one Spx business surface.'
  tags:
  - Spx
  - Files
  created: '2026-05-19'
  modified: '2026-05-19'
binds:
- namespace: env
  keys:
    SPX_API_KEY: SPX_API_KEY
capability:
  consumes:
  - type: http
    namespace: graphics-control-files
    baseUri: http://localhost:5656
    description: SPX Graphics Control API — Files business capability. Self-contained, no shared references.
    resources:
    - name: api-v1-getFileList
      path: /api/v1/getFileList
      operations:
      - name: getfilelist
        method: GET
        description: Get File List
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: folder
          in: query
          type: string
          description: Subfolder path relative to the ASSETS directory
          required: true
  exposes:
  - type: rest
    namespace: graphics-control-files-rest
    port: 8080
    description: REST adapter for SPX Graphics Control API — Files. One Spectral-compliant resource per consumed operation,
      prefixed with /v1.
    resources:
    - path: /v1/api/v1/getfilelist
      name: api-v1-getfilelist
      description: REST surface for api-v1-getFileList.
      operations:
      - method: GET
        name: getfilelist
        description: Get File List
        call: graphics-control-files.getfilelist
        with:
          folder: rest.folder
        outputParameters:
        - type: object
          mapping: $.
  - type: mcp
    namespace: graphics-control-files-mcp
    port: 9090
    transport: http
    description: MCP adapter for SPX Graphics Control API — Files. One tool per consumed operation, routed inline through
      this capability's consumes block.
    tools:
    - name: get-file-list
      description: Get File List
      hints:
        readOnly: true
        destructive: false
        idempotent: true
      call: graphics-control-files.getfilelist
      with:
        folder: tools.folder
      outputParameters:
      - type: object
        mapping: $.