Google Cloud Profiler · Capability

Google Cloud Profiler API — Projects

Google Cloud Profiler API — Projects. 4 operations. Lead operation: Google Cloud Profiler Create Profile. Self-contained Naftiko capability covering one Google Cloud Profiler business surface.

Run with Naftiko Google Cloud ProfilerProjects

What You Can Do

POST
Createprofile — Google Cloud Profiler Create Profile
/v1/v2/projects/{projectid}/profiles
PATCH
Updateprofile — Google Cloud Profiler Update Profile
/v1/v2/projects/{projectid}/profiles/{profileid}
POST
Createofflineprofile — Google Cloud Profiler Create Offline Profile
/v1/v2/projects/{projectid}/profiles-createoffline
GET
Listprofiles — Google Cloud Profiler List Profiles
/v1/v2/projects/{projectid}/profiles-list

MCP Tools

google-cloud-profiler-create-profile

Google Cloud Profiler Create Profile

google-cloud-profiler-update-profile

Google Cloud Profiler Update Profile

idempotent
google-cloud-profiler-create-offline

Google Cloud Profiler Create Offline Profile

google-cloud-profiler-list-profiles

Google Cloud Profiler List Profiles

read-only idempotent

Capability Spec

openapi-projects.yaml Raw ↑
naftiko: 1.0.0-alpha2
info:
  label: Google Cloud Profiler API — Projects
  description: 'Google Cloud Profiler API — Projects. 4 operations. Lead operation: Google Cloud Profiler Create Profile.
    Self-contained Naftiko capability covering one Google Cloud Profiler business surface.'
  tags:
  - Google Cloud Profiler
  - Projects
  created: '2026-05-19'
  modified: '2026-05-19'
binds:
- namespace: env
  keys:
    GOOGLE_CLOUD_PROFILER_API_KEY: GOOGLE_CLOUD_PROFILER_API_KEY
capability:
  consumes:
  - type: http
    namespace: openapi-projects
    baseUri: https://cloudprofiler.googleapis.com
    description: Google Cloud Profiler API — Projects business capability. Self-contained, no shared references.
    resources:
    - name: v2-projects-projectId-profiles
      path: /v2/projects/{projectId}/profiles
      operations:
      - name: createprofile
        method: POST
        description: Google Cloud Profiler Create Profile
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: projectId
          in: path
          type: string
          required: true
        - name: body
          in: body
          type: object
          description: Request body (JSON).
          required: true
    - name: v2-projects-projectId-profiles-profileId
      path: /v2/projects/{projectId}/profiles/{profileId}
      operations:
      - name: updateprofile
        method: PATCH
        description: Google Cloud Profiler Update Profile
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: projectId
          in: path
          type: string
          required: true
        - name: profileId
          in: path
          type: string
          required: true
        - name: body
          in: body
          type: object
          description: Request body (JSON).
          required: true
    - name: v2-projects-projectId-profiles:createOffline
      path: /v2/projects/{projectId}/profiles:createOffline
      operations:
      - name: createofflineprofile
        method: POST
        description: Google Cloud Profiler Create Offline Profile
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: projectId
          in: path
          type: string
          required: true
        - name: body
          in: body
          type: object
          description: Request body (JSON).
          required: true
    - name: v2-projects-projectId-profiles:list
      path: /v2/projects/{projectId}/profiles:list
      operations:
      - name: listprofiles
        method: GET
        description: Google Cloud Profiler List Profiles
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: projectId
          in: path
          type: string
          required: true
        - name: pageSize
          in: query
          type: integer
        - name: pageToken
          in: query
          type: string
  exposes:
  - type: rest
    namespace: openapi-projects-rest
    port: 8080
    description: REST adapter for Google Cloud Profiler API — Projects. One Spectral-compliant resource per consumed operation,
      prefixed with /v1.
    resources:
    - path: /v1/v2/projects/{projectid}/profiles
      name: v2-projects-projectid-profiles
      description: REST surface for v2-projects-projectId-profiles.
      operations:
      - method: POST
        name: createprofile
        description: Google Cloud Profiler Create Profile
        call: openapi-projects.createprofile
        with:
          projectId: rest.projectId
          body: rest.body
        outputParameters:
        - type: object
          mapping: $.
    - path: /v1/v2/projects/{projectid}/profiles/{profileid}
      name: v2-projects-projectid-profiles-profileid
      description: REST surface for v2-projects-projectId-profiles-profileId.
      operations:
      - method: PATCH
        name: updateprofile
        description: Google Cloud Profiler Update Profile
        call: openapi-projects.updateprofile
        with:
          projectId: rest.projectId
          profileId: rest.profileId
          body: rest.body
        outputParameters:
        - type: object
          mapping: $.
    - path: /v1/v2/projects/{projectid}/profiles-createoffline
      name: v2-projects-projectid-profiles-createoffline
      description: REST surface for v2-projects-projectId-profiles:createOffline.
      operations:
      - method: POST
        name: createofflineprofile
        description: Google Cloud Profiler Create Offline Profile
        call: openapi-projects.createofflineprofile
        with:
          projectId: rest.projectId
          body: rest.body
        outputParameters:
        - type: object
          mapping: $.
    - path: /v1/v2/projects/{projectid}/profiles-list
      name: v2-projects-projectid-profiles-list
      description: REST surface for v2-projects-projectId-profiles:list.
      operations:
      - method: GET
        name: listprofiles
        description: Google Cloud Profiler List Profiles
        call: openapi-projects.listprofiles
        with:
          projectId: rest.projectId
          pageSize: rest.pageSize
          pageToken: rest.pageToken
        outputParameters:
        - type: object
          mapping: $.
  - type: mcp
    namespace: openapi-projects-mcp
    port: 9090
    transport: http
    description: MCP adapter for Google Cloud Profiler API — Projects. One tool per consumed operation, routed inline through
      this capability's consumes block.
    tools:
    - name: google-cloud-profiler-create-profile
      description: Google Cloud Profiler Create Profile
      hints:
        readOnly: false
        destructive: false
        idempotent: false
      call: openapi-projects.createprofile
      with:
        projectId: tools.projectId
        body: tools.body
      outputParameters:
      - type: object
        mapping: $.
    - name: google-cloud-profiler-update-profile
      description: Google Cloud Profiler Update Profile
      hints:
        readOnly: false
        destructive: false
        idempotent: true
      call: openapi-projects.updateprofile
      with:
        projectId: tools.projectId
        profileId: tools.profileId
        body: tools.body
      outputParameters:
      - type: object
        mapping: $.
    - name: google-cloud-profiler-create-offline
      description: Google Cloud Profiler Create Offline Profile
      hints:
        readOnly: false
        destructive: false
        idempotent: false
      call: openapi-projects.createofflineprofile
      with:
        projectId: tools.projectId
        body: tools.body
      outputParameters:
      - type: object
        mapping: $.
    - name: google-cloud-profiler-list-profiles
      description: Google Cloud Profiler List Profiles
      hints:
        readOnly: true
        destructive: false
        idempotent: true
      call: openapi-projects.listprofiles
      with:
        projectId: tools.projectId
        pageSize: tools.pageSize
        pageToken: tools.pageToken
      outputParameters:
      - type: object
        mapping: $.