coda_get_control
Retrieve the current value of a control in a Coda doc, including sliders, select lists, date pickers, text inputs, and buttons. Returns the control's name, ID, type, and current user-facing state.
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 |