POST
gsheets_spreadsheets_create.py
from charter.packs import gsheets
result = await gsheets.spreadsheets_create.ainvoke({})
Requires
https://www.googleapis.com/auth/spreadsheets. Costs 1 against the provider’s own quota.This tool’s JSON schema is 135 KB, because it models the whole resource this endpoint writes.
That is more context than most tasks. Narrow it at the call site
with Those are its heaviest branches by schema size, not a recommendation: which ones you can spare is yours to decide. The tool underneath is unchanged.
See Projections.
Tool.derived:narrowed = gsheets.spreadsheets_create.derived(
name="spreadsheets_create_narrowed",
drop={"spreadsheet.sheets", "spreadsheet.properties", "spreadsheet.data_sources"},
)
Body
| Field | Type | Description |
|---|---|---|
spreadsheet | Spreadsheet | The spreadsheet to create. Contains properties (e.g., title), sheets, named ranges, and so on. Only the title and sheet structure are typically honoured on create; the spreadsheet is otherwise empty. |