coda_get_control
Get the live value, type, and ID of any Coda control (slider, select, date picker, text, button) by providing the doc ID and control name or ID.
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 |