Frostbyte · Capability

Frostbyte Code Execution API — Other

Frostbyte Code Execution API — Other. 4 operations. Lead operation: Agent Code Runner — /api/execute. Self-contained Naftiko capability covering one Frostbyte business surface.

Run with Naftiko FrostbyteOther

What You Can Do

POST
Agentcoderunnerpostapiexecute — Agent Code Runner — /api/execute
/v1/v1/agent-coderunner/api/execute
GET
Agentcoderunnergetapilanguages — Agent Code Runner — /api/languages
/v1/v1/agent-coderunner/api/languages
POST
Agentcoderunnerpostapisessions — Agent Code Runner — /api/sessions
/v1/v1/agent-coderunner/api/sessions
POST
Agentcoderunnerpostapisessionsidexecute — Agent Code Runner — /api/sessions/:id/execute
/v1/v1/agent-coderunner/api/sessions/{id}/execute

MCP Tools

agent-code-runner-api-execute

Agent Code Runner — /api/execute

agent-code-runner-api-languages

Agent Code Runner — /api/languages

read-only idempotent
agent-code-runner-api-sessions

Agent Code Runner — /api/sessions

agent-code-runner-api-sessions-2

Agent Code Runner — /api/sessions/:id/execute

Capability Spec

code-execution-other.yaml Raw ↑
naftiko: 1.0.0-alpha2
info:
  label: Frostbyte Code Execution API — Other
  description: 'Frostbyte Code Execution API — Other. 4 operations. Lead operation: Agent Code Runner — /api/execute. Self-contained
    Naftiko capability covering one Frostbyte business surface.'
  tags:
  - Frostbyte
  - Other
  created: '2026-05-19'
  modified: '2026-05-19'
binds:
- namespace: env
  keys:
    FROSTBYTE_API_KEY: FROSTBYTE_API_KEY
capability:
  consumes:
  - type: http
    namespace: code-execution-other
    baseUri: https://agent-gateway-kappa.vercel.app
    description: Frostbyte Code Execution API — Other business capability. Self-contained, no shared references.
    resources:
    - name: v1-agent-coderunner-api-execute
      path: /v1/agent-coderunner/api/execute
      operations:
      - name: agentcoderunnerpostapiexecute
        method: POST
        description: Agent Code Runner — /api/execute
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: body
          in: body
          type: object
          description: Request body (JSON).
          required: false
    - name: v1-agent-coderunner-api-languages
      path: /v1/agent-coderunner/api/languages
      operations:
      - name: agentcoderunnergetapilanguages
        method: GET
        description: Agent Code Runner — /api/languages
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
    - name: v1-agent-coderunner-api-sessions
      path: /v1/agent-coderunner/api/sessions
      operations:
      - name: agentcoderunnerpostapisessions
        method: POST
        description: Agent Code Runner — /api/sessions
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: body
          in: body
          type: object
          description: Request body (JSON).
          required: false
    - name: v1-agent-coderunner-api-sessions-id-execute
      path: /v1/agent-coderunner/api/sessions/{id}/execute
      operations:
      - name: agentcoderunnerpostapisessionsidexecute
        method: POST
        description: Agent Code Runner — /api/sessions/:id/execute
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: id
          in: path
          type: string
          required: true
        - name: body
          in: body
          type: object
          description: Request body (JSON).
          required: false
    authentication:
      type: apikey
      key: X-API-Key
      value: '{{env.FROSTBYTE_API_KEY}}'
      placement: header
  exposes:
  - type: rest
    namespace: code-execution-other-rest
    port: 8080
    description: REST adapter for Frostbyte Code Execution API — Other. One Spectral-compliant resource per consumed operation,
      prefixed with /v1.
    resources:
    - path: /v1/v1/agent-coderunner/api/execute
      name: v1-agent-coderunner-api-execute
      description: REST surface for v1-agent-coderunner-api-execute.
      operations:
      - method: POST
        name: agentcoderunnerpostapiexecute
        description: Agent Code Runner — /api/execute
        call: code-execution-other.agentcoderunnerpostapiexecute
        with:
          body: rest.body
        outputParameters:
        - type: object
          mapping: $.
    - path: /v1/v1/agent-coderunner/api/languages
      name: v1-agent-coderunner-api-languages
      description: REST surface for v1-agent-coderunner-api-languages.
      operations:
      - method: GET
        name: agentcoderunnergetapilanguages
        description: Agent Code Runner — /api/languages
        call: code-execution-other.agentcoderunnergetapilanguages
        outputParameters:
        - type: object
          mapping: $.
    - path: /v1/v1/agent-coderunner/api/sessions
      name: v1-agent-coderunner-api-sessions
      description: REST surface for v1-agent-coderunner-api-sessions.
      operations:
      - method: POST
        name: agentcoderunnerpostapisessions
        description: Agent Code Runner — /api/sessions
        call: code-execution-other.agentcoderunnerpostapisessions
        with:
          body: rest.body
        outputParameters:
        - type: object
          mapping: $.
    - path: /v1/v1/agent-coderunner/api/sessions/{id}/execute
      name: v1-agent-coderunner-api-sessions-id-execute
      description: REST surface for v1-agent-coderunner-api-sessions-id-execute.
      operations:
      - method: POST
        name: agentcoderunnerpostapisessionsidexecute
        description: Agent Code Runner — /api/sessions/:id/execute
        call: code-execution-other.agentcoderunnerpostapisessionsidexecute
        with:
          id: rest.id
          body: rest.body
        outputParameters:
        - type: object
          mapping: $.
  - type: mcp
    namespace: code-execution-other-mcp
    port: 9090
    transport: http
    description: MCP adapter for Frostbyte Code Execution API — Other. One tool per consumed operation, routed inline through
      this capability's consumes block.
    tools:
    - name: agent-code-runner-api-execute
      description: Agent Code Runner — /api/execute
      hints:
        readOnly: false
        destructive: false
        idempotent: false
      call: code-execution-other.agentcoderunnerpostapiexecute
      with:
        body: tools.body
      outputParameters:
      - type: object
        mapping: $.
    - name: agent-code-runner-api-languages
      description: Agent Code Runner — /api/languages
      hints:
        readOnly: true
        destructive: false
        idempotent: true
      call: code-execution-other.agentcoderunnergetapilanguages
      outputParameters:
      - type: object
        mapping: $.
    - name: agent-code-runner-api-sessions
      description: Agent Code Runner — /api/sessions
      hints:
        readOnly: false
        destructive: false
        idempotent: false
      call: code-execution-other.agentcoderunnerpostapisessions
      with:
        body: tools.body
      outputParameters:
      - type: object
        mapping: $.
    - name: agent-code-runner-api-sessions-2
      description: Agent Code Runner — /api/sessions/:id/execute
      hints:
        readOnly: false
        destructive: false
        idempotent: false
      call: code-execution-other.agentcoderunnerpostapisessionsidexecute
      with:
        id: tools.id
        body: tools.body
      outputParameters:
      - type: object
        mapping: $.