List parameter options
list_parameter_optionsThe choices for one dropdown parameter of a workflow step (action) or trigger, read from the connected account. Pass exactly one of action or trigger, and the values chosen so far as input (a table list needs its base, for instance).
Returns { status, data: [{ id, label }] }. Write the choice into the source as option { id: "…", label: "…" }. A value typed in rather than picked is the editor's "Custom" choice (offered on action steps, not triggers): option { id: "<text, may hold {{refs}}>", label: "…", isCustom: true }.
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": {
"app": "<app>",
"connection": "<connection>",
"parameter": "<parameter>"
},
"name": "list_parameter_options"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| app | Yes | The app id, exactly as list({ type: "app" }) returned it. | |
| input | No | The parameter values chosen so far, key → value (plain values, not the source forms). Later parameters often depend on earlier ones. | |
| action | No | An action key, from fetch on the app. | |
| trigger | No | A trigger key, from fetch on the app. | |
| parameter | Yes | The key of the dropdown parameter. | |
| connection | Yes | A connection id for this app, from list({ type: "connection" }) or fetch on the app. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| data | No | ||
| status | No |