MCPDocumentation
On this page

Voice agents

Possible outcomes

outcome_options
Read
Permission required
agent:runtime (agent keys only)

When to use it

The possible outcomes of a call in this organization (sign-up, booking, information…). Use the key with set_outcome.

Input

No parameters.

Every tool also accepts lang (es | en) for the language of the text answer.

Output

FieldTypeDescription
outcomesRequiredobject[]
outcomes[].keyRequiredstringWhat you pass to set_outcome
outcomes[].labelRequiredstring
outcomes[].descriptionRequiredstring | null
outcomes[].successRequiredbooleantrue = counts as a conversion

Examples

Example 1: A gym's catalog

Call

JSON
{
  "name": "outcome_options",
  "arguments": {}
}

Response

JSON
{
  "outcomes": [
    {
      "key": "alta",
      "label": "Alta",
      "description": "Quiere apuntarse…",
      "success": true
    },
    {
      "key": "info_horarios",
      "label": "Información de horarios",
      "description": "Consulta de horarios…",
      "success": false
    }
  ]
}

Equivalent JSON-RPC call (POST /mcp)

JSON
{
  "jsonrpc": "2.0",
  "id": 1,
  "method": "tools/call",
  "params": {
    "name": "outcome_options",
    "arguments": {}
  }
}