format_cells
Set bold, italic, or underline formatting on a specified A1 range of cells in Google Sheets.
Instructions
Set text formatting (bold/italic/underline) on a bounded A1 range of a spreadsheet (item).
a1_range like 'Data!A1:C10' or a single cell 'Data!B2' (no tab prefix targets the first
tab; open-ended ranges like 'A:C' are rejected). Each flag is tri-state: true applies it,
false removes it, unset leaves that property as-is. Formatting only — cell values are
untouched. dry_run=true returns the resolved target without writing. (Headings, bullets,
and rich text are Docs concepts: see append_text/create_document with markdown=true.)
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| bold | No | ||
| item | Yes | ||
| italic | No | ||
| dry_run | No | ||
| a1_range | Yes | ||
| underline | No |