Twilio · Capability

Twilio - Media — MediaProcessors

Twilio - Media — MediaProcessors. 4 operations. Lead operation: MediaProcessors. Self-contained Naftiko capability covering one Twilio business surface.

Run with Naftiko TwilioMediaProcessors

What You Can Do

POST
Createmediaprocessor — createmediaprocessor
/v1/v1/mediaprocessors
GET
Listmediaprocessor — Returns a list of MediaProcessors.
/v1/v1/mediaprocessors
GET
Fetchmediaprocessor — Returns a single MediaProcessor resource identified by a SID.
/v1/v1/mediaprocessors/{sid}
POST
Updatemediaprocessor — Updates a MediaProcessor resource identified by a SID.
/v1/v1/mediaprocessors/{sid}

MCP Tools

createmediaprocessor

createmediaprocessor

returns-list-mediaprocessors

Returns a list of MediaProcessors.

read-only idempotent
returns-single-mediaprocessor-resource-identified

Returns a single MediaProcessor resource identified by a SID.

read-only idempotent
updates-mediaprocessor-resource-identified-sid

Updates a MediaProcessor resource identified by a SID.

Capability Spec

media-mediaprocessors.yaml Raw ↑
naftiko: 1.0.0-alpha2
info:
  label: Twilio - Media — MediaProcessors
  description: 'Twilio - Media — MediaProcessors. 4 operations. Lead operation: MediaProcessors. Self-contained Naftiko capability
    covering one Twilio business surface.'
  tags:
  - Twilio
  - MediaProcessors
  created: '2026-05-19'
  modified: '2026-05-19'
binds:
- namespace: env
  keys:
    TWILIO_API_KEY: TWILIO_API_KEY
capability:
  consumes:
  - type: http
    namespace: media-mediaprocessors
    baseUri: https://media.twilio.com
    description: Twilio - Media — MediaProcessors business capability. Self-contained, no shared references.
    resources:
    - name: v1-MediaProcessors
      path: /v1/MediaProcessors
      operations:
      - name: createmediaprocessor
        method: POST
        description: ''
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: body
          in: body
          type: object
          description: Request body (JSON).
          required: false
      - name: listmediaprocessor
        method: GET
        description: Returns a list of MediaProcessors.
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: Order
          in: query
          type: string
          description: 'The sort order of the list by `date_created`. Can be: `asc` (ascending) or `desc` (descending) with
            `desc` as the default.'
        - name: Status
          in: query
          type: string
          description: Status to filter by, with possible values `started`, `ended` or `failed`.
        - name: PageSize
          in: query
          type: integer
          description: How many resources to return in each list page. The default is 50, and the maximum is 1000.
        - name: Page
          in: query
          type: integer
          description: The page index. This value is simply for client state.
        - name: PageToken
          in: query
          type: string
          description: The page token. This is provided by the API.
    - name: v1-MediaProcessors-Sid
      path: /v1/MediaProcessors/{Sid}
      operations:
      - name: fetchmediaprocessor
        method: GET
        description: Returns a single MediaProcessor resource identified by a SID.
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: Sid
          in: path
          type: string
          description: The SID of the MediaProcessor resource to fetch.
          required: true
      - name: updatemediaprocessor
        method: POST
        description: Updates a MediaProcessor resource identified by a SID.
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: Sid
          in: path
          type: string
          description: The SID of the MediaProcessor resource to update.
          required: true
        - name: body
          in: body
          type: object
          description: Request body (JSON).
          required: false
    authentication:
      type: basic
      username: '{{env.TWILIO_USER}}'
      password: '{{env.TWILIO_PASS}}'
  exposes:
  - type: rest
    namespace: media-mediaprocessors-rest
    port: 8080
    description: REST adapter for Twilio - Media — MediaProcessors. One Spectral-compliant resource per consumed operation,
      prefixed with /v1.
    resources:
    - path: /v1/v1/mediaprocessors
      name: v1-mediaprocessors
      description: REST surface for v1-MediaProcessors.
      operations:
      - method: POST
        name: createmediaprocessor
        description: createmediaprocessor
        call: media-mediaprocessors.createmediaprocessor
        with:
          body: rest.body
        outputParameters:
        - type: object
          mapping: $.
      - method: GET
        name: listmediaprocessor
        description: Returns a list of MediaProcessors.
        call: media-mediaprocessors.listmediaprocessor
        with:
          Order: rest.Order
          Status: rest.Status
          PageSize: rest.PageSize
          Page: rest.Page
          PageToken: rest.PageToken
        outputParameters:
        - type: object
          mapping: $.
    - path: /v1/v1/mediaprocessors/{sid}
      name: v1-mediaprocessors-sid
      description: REST surface for v1-MediaProcessors-Sid.
      operations:
      - method: GET
        name: fetchmediaprocessor
        description: Returns a single MediaProcessor resource identified by a SID.
        call: media-mediaprocessors.fetchmediaprocessor
        with:
          Sid: rest.Sid
        outputParameters:
        - type: object
          mapping: $.
      - method: POST
        name: updatemediaprocessor
        description: Updates a MediaProcessor resource identified by a SID.
        call: media-mediaprocessors.updatemediaprocessor
        with:
          Sid: rest.Sid
          body: rest.body
        outputParameters:
        - type: object
          mapping: $.
  - type: mcp
    namespace: media-mediaprocessors-mcp
    port: 9090
    transport: http
    description: MCP adapter for Twilio - Media — MediaProcessors. One tool per consumed operation, routed inline through
      this capability's consumes block.
    tools:
    - name: createmediaprocessor
      description: createmediaprocessor
      hints:
        readOnly: false
        destructive: false
        idempotent: false
      call: media-mediaprocessors.createmediaprocessor
      with:
        body: tools.body
      outputParameters:
      - type: object
        mapping: $.
    - name: returns-list-mediaprocessors
      description: Returns a list of MediaProcessors.
      hints:
        readOnly: true
        destructive: false
        idempotent: true
      call: media-mediaprocessors.listmediaprocessor
      with:
        Order: tools.Order
        Status: tools.Status
        PageSize: tools.PageSize
        Page: tools.Page
        PageToken: tools.PageToken
      outputParameters:
      - type: object
        mapping: $.
    - name: returns-single-mediaprocessor-resource-identified
      description: Returns a single MediaProcessor resource identified by a SID.
      hints:
        readOnly: true
        destructive: false
        idempotent: true
      call: media-mediaprocessors.fetchmediaprocessor
      with:
        Sid: tools.Sid
      outputParameters:
      - type: object
        mapping: $.
    - name: updates-mediaprocessor-resource-identified-sid
      description: Updates a MediaProcessor resource identified by a SID.
      hints:
        readOnly: false
        destructive: false
        idempotent: false
      call: media-mediaprocessors.updatemediaprocessor
      with:
        Sid: tools.Sid
        body: tools.body
      outputParameters:
      - type: object
        mapping: $.