Google Cloud Dialogflow CX API — Sessions

Google Cloud Dialogflow CX API — Sessions. 1 operations. Lead operation: Google Cloud Dialogflow CX Detect intent. Self-contained Naftiko capability covering one Google Cloud Dialogflow Cx business surface.

Run with Naftiko Google Cloud Dialogflow CxSessions

What You Can Do

POST
Detectintent — Google Cloud Dialogflow CX Detect intent
/v1/projects/{projectid}/locations/{location}/agents/{agentid}/sessions/sessionid-detectintent

MCP Tools

google-cloud-dialogflow-cx-detect

Google Cloud Dialogflow CX Detect intent

Capability Spec

openapi-sessions.yaml Raw ↑
naftiko: 1.0.0-alpha2
info:
  label: Google Cloud Dialogflow CX API — Sessions
  description: 'Google Cloud Dialogflow CX API — Sessions. 1 operations. Lead operation: Google Cloud Dialogflow CX Detect
    intent. Self-contained Naftiko capability covering one Google Cloud Dialogflow Cx business surface.'
  tags:
  - Google Cloud Dialogflow Cx
  - Sessions
  created: '2026-05-19'
  modified: '2026-05-19'
binds:
- namespace: env
  keys:
    GOOGLE_CLOUD_DIALOGFLOW_CX_API_KEY: GOOGLE_CLOUD_DIALOGFLOW_CX_API_KEY
capability:
  consumes:
  - type: http
    namespace: openapi-sessions
    baseUri: https://dialogflow.googleapis.com/v3
    description: Google Cloud Dialogflow CX API — Sessions business capability. Self-contained, no shared references.
    resources:
    - name: projects-projectId-locations-location-agents-agentId-sessions-sessionId}:detectI
      path: /projects/{projectId}/locations/{location}/agents/{agentId}/sessions/{sessionId}:detectIntent
      operations:
      - name: detectintent
        method: POST
        description: Google Cloud Dialogflow CX Detect intent
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: projectId
          in: path
          type: string
          required: true
        - name: location
          in: path
          type: string
          required: true
        - name: agentId
          in: path
          type: string
          required: true
        - name: sessionId
          in: path
          type: string
          required: true
        - name: body
          in: body
          type: object
          description: Request body (JSON).
          required: true
    authentication:
      type: bearer
      token: '{{env.GOOGLE_CLOUD_DIALOGFLOW_CX_API_KEY}}'
  exposes:
  - type: rest
    namespace: openapi-sessions-rest
    port: 8080
    description: REST adapter for Google Cloud Dialogflow CX API — Sessions. One Spectral-compliant resource per consumed
      operation, prefixed with /v1.
    resources:
    - path: /v1/projects/{projectid}/locations/{location}/agents/{agentid}/sessions/sessionid-detectintent
      name: projects-projectid-locations-location-agents-agentid-sessions-sessionid-detecti
      description: REST surface for projects-projectId-locations-location-agents-agentId-sessions-sessionId}:detectI.
      operations:
      - method: POST
        name: detectintent
        description: Google Cloud Dialogflow CX Detect intent
        call: openapi-sessions.detectintent
        with:
          projectId: rest.projectId
          location: rest.location
          agentId: rest.agentId
          sessionId: rest.sessionId
          body: rest.body
        outputParameters:
        - type: object
          mapping: $.
  - type: mcp
    namespace: openapi-sessions-mcp
    port: 9090
    transport: http
    description: MCP adapter for Google Cloud Dialogflow CX API — Sessions. One tool per consumed operation, routed inline
      through this capability's consumes block.
    tools:
    - name: google-cloud-dialogflow-cx-detect
      description: Google Cloud Dialogflow CX Detect intent
      hints:
        readOnly: false
        destructive: false
        idempotent: false
      call: openapi-sessions.detectintent
      with:
        projectId: tools.projectId
        location: tools.location
        agentId: tools.agentId
        sessionId: tools.sessionId
        body: tools.body
      outputParameters:
      - type: object
        mapping: $.