listWorkflowFieldOptions
List valid options for a workflow node field, such as phone numbers, agents or integrations, so you can choose real IDs instead of guessing values when building or editing a workflow.
Instructions
List the choices for one ref field of a node type.
Examples are the phone numbers, agents or integrations in your account. Call
it for every ref field and never guess an id. If it returns 400 no_options, the field is not a list choice, so ask the user for the value.
(Tags: Workflows)
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"node_type": "<node_type>",
"field": "<field>"
},
"name": "listWorkflowFieldOptions"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| field | Yes | A field name from `getWorkflowNodeType`. | |
| depends | No | The value of the field this one depends on (`depends_on` in the node type), such as the chosen phone number id. | |
| node_type | Yes | A node type from `listWorkflowNodeTypes`, such as `whatsapp`. |