Skip to content

Document new Google Sheets operations#56

Open
mattsodomsky wants to merge 1 commit into
mainfrom
claude/google-sheets-operations-docs
Open

Document new Google Sheets operations#56
mattsodomsky wants to merge 1 commit into
mainfrom
claude/google-sheets-operations-docs

Conversation

@mattsodomsky

Copy link
Copy Markdown
Member

Summary

Documentation for the expanded google_sheets action (lightward/mechanic-api#2266 and lightward/mechanic-ui#2033): the action grows from 3 to 10 operations.

core/actions/integrations/google-sheets.md — rewritten:

  • Options table covers the full option set (sheets, sheet_range, new_sheet_name, start_row/end_row, value_input_option, value_render_option)
  • Operation sections for add_sheet, update_rows, clear_values, get_values, delete_rows, rename_sheet, delete_sheet, and multi-sheet create_spreadsheet, each with retry-behavior notes (destructive operations are never auto-retried)
  • A prominent warning that user_entered executes =-prefixed values as live formulas — trusted data only
  • "Sheet names and ranges" section covering automatic quoting, first-sheet auto-detection (never assumes "Sheet1"), and range/name conflict rules
  • Response shapes for every operation
  • New examples: multi-sheet create, add_sheet, update_rows, user_entered, delete_rows, and a working get_values + mechanic/actions/perform read-back pattern

Also fixes pre-existing page issues: the options table claimed sheet_name "defaults to Sheet1" (auto-detection shipped with the locale fix); the retry hint's rate-limit wording no longer matched behavior; the "Read Data From Google Sheet" example was an empty mangled code block; and the "Dynamic Data Example" used invalid array assignment syntax.

platform/integrations/google-drive-and-google-sheets.md — capability sentence and supported-operations list updated to the full set.

Should merge alongside (or after) the API/UI PRs.

🤖 Generated with Claude Code

The google_sheets action grew from 3 to 10 operations (multi-sheet
create, add/rename/delete sheet, update/clear/get values, delete rows)
plus a value_input_option for value writes. Updates the action page
and the platform overview's operation list accordingly.

Also fixes pre-existing issues on the action page: sheet_name has
auto-detected the first sheet (not "Sheet1") since the locale fix; the
rate-limit note in the retry hint now matches actual behavior; the
"Read Data" example had an empty mangled code block (now a proper
get_values example); and the Dynamic Data example used invalid array
assignment syntax.

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant