Coda Get Control
coda_get_controlRetrieves the current value, name, ID, and type of a specified control in a Coda doc, such as a slider or select list. Use it to check the user-facing state of controls.
Instructions
Get the current value of a control in a Coda doc.
Returns the control's name, ID, type, and current value. Controls include sliders, select lists, date pickers, text inputs, and buttons. The value reflects the current user-facing state. Use coda_list_controls to discover available controls.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| doc_id | Yes | The doc ID containing the control | |
| control_id_or_name | Yes | Control ID or name |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |