Phrase · Capability

Phrase Strings API Reference — Style guides

Phrase Strings API Reference — Style guides. 5 operations. Lead operation: List style guides. Self-contained Naftiko capability covering one Phrase business surface.

Run with Naftiko PhraseStyle guides

What You Can Do

GET
Styleguideslist — List style guides
/v1/projects/{project-id}/styleguides
POST
Styleguidecreate — Create a style guide
/v1/projects/{project-id}/styleguides
GET
Styleguideshow — Get a single style guide
/v1/projects/{project-id}/styleguides/{id}
PATCH
Styleguideupdate — Update a style guide
/v1/projects/{project-id}/styleguides/{id}
DELETE
Styleguidedelete — Delete a style guide
/v1/projects/{project-id}/styleguides/{id}

MCP Tools

list-style-guides

List style guides

read-only idempotent
create-style-guide

Create a style guide

get-single-style-guide

Get a single style guide

read-only idempotent
update-style-guide

Update a style guide

idempotent
delete-style-guide

Delete a style guide

idempotent

Capability Spec

strings-style-guides.yaml Raw ↑
naftiko: 1.0.0-alpha2
info:
  label: Phrase Strings API Reference — Style guides
  description: 'Phrase Strings API Reference — Style guides. 5 operations. Lead operation: List style guides. Self-contained
    Naftiko capability covering one Phrase business surface.'
  tags:
  - Phrase
  - Style guides
  created: '2026-05-19'
  modified: '2026-05-19'
binds:
- namespace: env
  keys:
    PHRASE_API_KEY: PHRASE_API_KEY
capability:
  consumes:
  - type: http
    namespace: strings-style-guides
    baseUri: https://api.phrase.com/v2
    description: Phrase Strings API Reference — Style guides business capability. Self-contained, no shared references.
    resources:
    - name: projects-project_id-styleguides
      path: /projects/{project_id}/styleguides
      operations:
      - name: styleguideslist
        method: GET
        description: List style guides
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
      - name: styleguidecreate
        method: POST
        description: Create a style guide
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: body
          in: body
          type: object
          description: Request body (JSON).
          required: true
    - name: projects-project_id-styleguides-id
      path: /projects/{project_id}/styleguides/{id}
      operations:
      - name: styleguideshow
        method: GET
        description: Get a single style guide
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
      - name: styleguideupdate
        method: PATCH
        description: Update a style guide
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: body
          in: body
          type: object
          description: Request body (JSON).
          required: true
      - name: styleguidedelete
        method: DELETE
        description: Delete a style guide
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
    authentication:
      type: apikey
      key: Authorization
      value: '{{env.PHRASE_API_KEY}}'
      placement: header
  exposes:
  - type: rest
    namespace: strings-style-guides-rest
    port: 8080
    description: REST adapter for Phrase Strings API Reference — Style guides. One Spectral-compliant resource per consumed
      operation, prefixed with /v1.
    resources:
    - path: /v1/projects/{project-id}/styleguides
      name: projects-project-id-styleguides
      description: REST surface for projects-project_id-styleguides.
      operations:
      - method: GET
        name: styleguideslist
        description: List style guides
        call: strings-style-guides.styleguideslist
        outputParameters:
        - type: object
          mapping: $.
      - method: POST
        name: styleguidecreate
        description: Create a style guide
        call: strings-style-guides.styleguidecreate
        with:
          body: rest.body
        outputParameters:
        - type: object
          mapping: $.
    - path: /v1/projects/{project-id}/styleguides/{id}
      name: projects-project-id-styleguides-id
      description: REST surface for projects-project_id-styleguides-id.
      operations:
      - method: GET
        name: styleguideshow
        description: Get a single style guide
        call: strings-style-guides.styleguideshow
        outputParameters:
        - type: object
          mapping: $.
      - method: PATCH
        name: styleguideupdate
        description: Update a style guide
        call: strings-style-guides.styleguideupdate
        with:
          body: rest.body
        outputParameters:
        - type: object
          mapping: $.
      - method: DELETE
        name: styleguidedelete
        description: Delete a style guide
        call: strings-style-guides.styleguidedelete
        outputParameters:
        - type: object
          mapping: $.
  - type: mcp
    namespace: strings-style-guides-mcp
    port: 9090
    transport: http
    description: MCP adapter for Phrase Strings API Reference — Style guides. One tool per consumed operation, routed inline
      through this capability's consumes block.
    tools:
    - name: list-style-guides
      description: List style guides
      hints:
        readOnly: true
        destructive: false
        idempotent: true
      call: strings-style-guides.styleguideslist
      outputParameters:
      - type: object
        mapping: $.
    - name: create-style-guide
      description: Create a style guide
      hints:
        readOnly: false
        destructive: false
        idempotent: false
      call: strings-style-guides.styleguidecreate
      with:
        body: tools.body
      outputParameters:
      - type: object
        mapping: $.
    - name: get-single-style-guide
      description: Get a single style guide
      hints:
        readOnly: true
        destructive: false
        idempotent: true
      call: strings-style-guides.styleguideshow
      outputParameters:
      - type: object
        mapping: $.
    - name: update-style-guide
      description: Update a style guide
      hints:
        readOnly: false
        destructive: false
        idempotent: true
      call: strings-style-guides.styleguideupdate
      with:
        body: tools.body
      outputParameters:
      - type: object
        mapping: $.
    - name: delete-style-guide
      description: Delete a style guide
      hints:
        readOnly: false
        destructive: true
        idempotent: true
      call: strings-style-guides.styleguidedelete
      outputParameters:
      - type: object
        mapping: $.