---
title: "clarify_intent"
description: "Resolve ambiguous user requests through targeted clarification questions."
canonical: "https://acs.synapti.ai/workflows/clarify-intent/"
last_updated: "2026-11-16T03:28:14Z"
---

# Resolve ambiguous user requests through targeted clarification questions.

Generated from [schemas/workflow_catalog.yaml](https://github.com/synaptiai/agent-capability-standard/blob/main/schemas/workflow_catalog.yaml) at commit 18c38b74ac21.

- Workflow id: `clarify_intent`
- Risk: low
- Catalog: reference workflows
- Declares Standard 1.1.0
- Steps: 5

This workflow analyzes a user request for ambiguity, generates clarifying
questions when needed, and integrates the clarification to produce a
well-specified request. It's designed to be invoked at the start of
any workflow when the initial request may be underspecified.

**Figure: Steps of clarify_intent: 5 steps.** Read top to bottom: no step changes state; steps 2 and 3 have gates; step 3 says what to do on failure; and the highest step risk is low, at steps 1, 2, 3, 4 and 5.

| # | Capability | Layer | Role | Gates | On failure | Reads from | Risk |
| --- | --- | --- | --- | --- | --- | --- | --- |
| 1 | `critique` | REASON |  |  |  |  | low |
| 2 | `inquire` | COORDINATE |  | skip |  | 1 | low |
| 3 | `receive` | PERCEIVE |  | skip | stop | 2 | low |
| 4 | `integrate` | SYNTHESIZE |  |  |  | 3 | low |
| 5 | `audit` | VERIFY |  |  |  | 2, 3, 4 | low |

## Inputs

**Figure: Inputs of clarify_intent.** 2 inputs, 1 required (filled pin) and 1 optional (outlined pin).

| Field | Type | Required | Description |
| --- | --- | --- | --- |
| `user_request` | string | Yes | The potentially ambiguous user request |
| `conversation_context` | object | No | Previous conversation context for better question generation |

## Steps

1. [`critique`](https://acs.synapti.ai/capabilities/critique/index.md): Analyze request for ambiguity and missing parameters. Stores `ambiguity_analysis_out`. (risk low)
2. [`inquire`](https://acs.synapti.ai/capabilities/inquire/index.md): Ask the user clarifying questions about ambiguous elements. Stores `clarification_request_out`. (risk low)
   - Gate: when `${ambiguity_analysis_out.issues} == []`, skip: The analysis found no ambiguity; no clarification needed.
3. [`receive`](https://acs.synapti.ai/capabilities/receive/index.md): Accept user's clarification response. Stores `clarification_response_out`. (risk low)
   - Gate: when `${clarification_request_out} == null || ${clarification_request_out.questions} == []`, skip: No clarifying questions were asked, nothing to receive.
4. [`integrate`](https://acs.synapti.ai/capabilities/integrate/index.md): Merge clarification with original request. Stores `resolved_request_out`. (risk low)
5. [`audit`](https://acs.synapti.ai/capabilities/audit/index.md): Record clarification interaction for provenance. Stores `audit_out`. (risk low)

## Data flow

**Figure: Which step reads which stored output.** 4 steps read the output of earlier steps, 6 reads in all; step 5 (audit) reads the most, from 3 steps.

- Step 2 reads from step 1.
- Step 3 reads from step 2.
- Step 4 reads from step 3.
- Step 5 reads from steps 2, 3 and 4.

## Risk

Declared and highest step risk are both low; the catalog gives no computed risk; the highest-risk step is step 1 (critique), with 4 others at the same level. The step map above gives each step's risk.

## Success criteria

- Request analyzed for ambiguity
- Clarifying questions generated if needed
- Clarification integrated into resolved request

## Validate it

```sh
python tools/validate_workflows.py --catalog schemas/workflow_catalog.yaml
```

## Workflow YAML

```yaml
clarify_intent:
  goal: Resolve ambiguous user requests through targeted clarification questions.
  risk: low
  description: |
    This workflow analyzes a user request for ambiguity, generates clarifying
    questions when needed, and integrates the clarification to produce a
    well-specified request. It's designed to be invoked at the start of
    any workflow when the initial request may be underspecified.
  success:
  - Request analyzed for ambiguity
  - Clarifying questions generated if needed
  - Clarification integrated into resolved request
  steps:
  - capability: critique
    purpose: Analyze request for ambiguity and missing parameters.
    risk: low
    mutation: false
    requires_checkpoint: false
    requires_approval: false
    timeout: null
    retry: null
    store_as: ambiguity_analysis_out
    input_bindings:
      target: ${user_request}
      criteria:
      - parameter_completeness
      - interpretation_uniqueness
      - constraint_clarity
    failure_modes: []
  - capability: inquire
    purpose: Ask the user clarifying questions about ambiguous elements.
    risk: low
    mutation: false
    requires_checkpoint: false
    requires_approval: false
    timeout: null
    retry: null
    store_as: clarification_request_out
    input_bindings:
      ambiguous_input: ${user_request}
      context:
        conversation: ${conversation_context}
        ambiguities: "${ambiguity_analysis_out.issues: array<object>}"
      max_questions: 3
    gates:
    - when: ${ambiguity_analysis_out.issues} == []
      action: skip
      message: The analysis found no ambiguity; no clarification needed.
    failure_modes: []
  - capability: receive
    purpose: Accept user's clarification response.
    risk: low
    mutation: false
    requires_checkpoint: false
    requires_approval: false
    timeout: 5m
    retry: null
    store_as: clarification_response_out
    input_bindings:
      channel: user
      filter:
        type: clarification_response
    gates:
    - when: ${clarification_request_out} == null || ${clarification_request_out.questions} == []
      action: skip
      message: No clarifying questions were asked, nothing to receive.
    failure_modes:
    - condition: Timeout waiting for response
      on_error: R401
      action: stop
      recovery: The run ends with the timeout; the caller proceeds with its best interpretation or escalates.
  - capability: integrate
    purpose: Merge clarification with original request.
    risk: low
    mutation: false
    requires_checkpoint: false
    requires_approval: false
    timeout: null
    retry: null
    store_as: resolved_request_out
    input_bindings:
      sources:
      - ${user_request}
      - ${clarification_response_out.data}
      strategy: parameter_merge
      conflict_resolution: prefer_clarification
    failure_modes: []
  - capability: audit
    purpose: Record clarification interaction for provenance.
    risk: low
    mutation: false
    requires_checkpoint: false
    requires_approval: false
    timeout: null
    retry: null
    store_as: audit_out
    input_bindings:
      event:
        type: intent_clarification
        original_request: ${user_request}
        questions_asked: ${clarification_request_out.questions}
        clarification_received: ${clarification_response_out.data}
        resolved_request: ${resolved_request_out}
    failure_modes: []
  inputs:
    user_request:
      type: string
      required: true
      description: The potentially ambiguous user request
    conversation_context:
      type: object
      required: false
      description: Previous conversation context for better question generation
```
