| name | google-sheets |
| description | Google Sheets: Work with Google Sheets using safe short actions: create and find spreadsheets, list tabs, read data, append rows at the true table end, append columns at the current data edge, update selected fields by key, export. Use when an agent needs google sheets, google sheets api, append spreadsheet rows safely, update crm style rows by key, export a sheet to csv or pdf, create reporting spreadsheets, add conditional formatting, spreadsheet id through AgentPMT-hosted remote tool calls. |
| version | 1.0.0 |
| homepage | https://www.agentpmt.com/marketplace/google-sheets-api |
| compatibility | Agent instructions for AgentPMT-hosted remote tool calls. Follow this skill body for supported account, wallet, and setup routes. No local command runtime is declared. |
| metadata | {"author":"agentpmt","openclaw":{"homepage":"https://www.agentpmt.com/marketplace/google-sheets-api"}} |
Google Sheets
Freshness
Last updated: 2026-06-24.
If the current date is more than 7 days after the last updated date, reinstall this skill from skills.sh or ClawHub before relying on endpoints, schemas, setup steps, or examples.
What This Tool Does
Create, read, update, format, share, and export Google Sheets with agent-safe spreadsheet workflows. Append rows at the true table end, append columns after the last non-empty data column, update selected fields in matched rows, manage tabs, apply validation and formatting, and store CSV/PDF/XLSX exports in File Manager.
Product Instructions
Google Sheets
Use short action names. Prefer read, append_rows, append_column, update_row, and export_sheet for common workflows.
Safety rules:
- Do not guess a tab is named
Sheet1; omit sheet_name or call list_sheets.
- Do not calculate append row or column positions; use
append_rows or append_column.
append_rows appends at the true table end. append_column writes after the last non-empty data column, not at a blank default grid edge.
- Do not overwrite full rows when only selected fields changed; use
update_row with updates.
- Use
export_sheet for CSV/TSV/PDF/XLSX/ODS/HTML/ZIP exports. Specific-sheet rendered exports use an official temporary-spreadsheet flow.
Examples:
{"action":"read","spreadsheet_id":"1abc...","sheet_name":"Leads","range":"A1:D20"}
{"action":"append_rows","spreadsheet_id":"1abc...","sheet_name":"Leads","rows":[{"Name":"Ada","Status":"New"}]}
{"action":"append_column","spreadsheet_id":"1abc...","sheet_name":"Leads","column_name":"Owner","column_values":["Sam","Riley"]}
{"action":"update_row","spreadsheet_id":"1abc...","sheet_name":"Leads","key_column":"Email","key_value":"ada@example.com","updates":{"Status":"Qualified","Owner":"Sam"}}
{"action":"export_sheet","spreadsheet_id":"1abc...","sheet_name":"Leads","format":"pdf","filename":"leads.pdf"}
When To Use
- Use this skill for
Google Sheets on AgentPMT.
- Use it when an agent needs this specific tool's behavior, schema, inputs, outputs, and invocation shape.
- Search and activation keywords: google sheets, google sheets api, append spreadsheet rows safely, update crm style rows by key, export a sheet to csv or pdf, create reporting spreadsheets, add conditional formatting, spreadsheet id.
- Supported action names:
add_conditional_formatting, add_named_range, add_sheet, append_column, append_rows, copy_paste, create, cut_paste, delete_named_range, delete_sheet, export_sheet, find_replace, format_cells, get_data_range, get_headers, list_sheets, protect_range, read, rename_sheet, search, set_data_validation, share, sort, unprotect_range, update_row.
Use Cases
- append spreadsheet rows safely
- update CRM-style rows by key
- export a sheet to CSV or PDF
- create reporting spreadsheets
- add data validation to templates
- protect header ranges
- share sheets with collaborators
- copy or move spreadsheet ranges
- format dashboards
- manage sheet tabs
Related Product Skills
Categories And Industries
No categories or industry tags are published for this tool.
Actions And Schema
Complete generated action schema: ./schema.md.
Supported action count: 25.
x402 availability: not enabled for this product.
add_conditional_formatting (action slug: add-conditional-formatting): Add a conditional formatting rule to a range. Price: 5 credits. Parameters: range, rule, sheet_name, spreadsheet_id.
add_named_range (action slug: add-named-range): Create a named range. Price: 5 credits. Parameters: name, range, sheet_name, spreadsheet_id.
add_sheet (action slug: add-sheet): Add a new tab to a spreadsheet. Price: 5 credits. Parameters: new_sheet_name, spreadsheet_id.
append_column (action slug: append-column): Append one new column immediately after the last non-empty data column and write its header and values. Price: 5 credits. Parameters: column_name, column_values, sheet_name, spreadsheet_id.
append_rows (action slug: append-rows): Append rows at the true table end. Object rows are mapped by sheet headers. Price: 5 credits. Parameters: header_row, rows, sheet_name, spreadsheet_id, value_input_option.
copy_paste (action slug: copy-paste): Copy a source range to a destination range. Price: 5 credits. Parameters: destination_range, paste_orientation, paste_type, sheet_name, source_range, spreadsheet_id.
create (action slug: create): Create a new spreadsheet, optionally with an initial tab, headers, and rows. Price: 5 credits. Parameters: initial_headers, initial_sheet_name, rows, title.
cut_paste (action slug: ): Move a source range to a destination start cell. Price: credits. Parameters: , , , , .
Live Schema And Examples
Use the compact schema above for ordinary calls. Before a new production integration, or whenever parameters, enum values, nested objects, outputs, or examples are unclear, fetch live details first.
- Exact schema: call
agentpmt-tool-search-and-execution with action: "get_schema", and tool_id: "google-sheets-api".
- Detailed examples: call
agentpmt-tool-search-and-execution with action: "get_instructions" and tool_id: "google-sheets-api", or call this product with action: "get_instructions" when the product tool is already selected.
- Treat returned live schema and instructions as more specific than this generated summary.
MCP schema lookup through the main AgentPMT MCP server:
{
"method": "tools/call",
"params": {
"name": "AgentPMT-Tool-Search-and-Execution",
"arguments": {
"action": "get_schema",
"tool_id": "google-sheets-api"
}
}
}
For live examples, keep the same MCP tool and use these arguments:
{
"action": "get_instructions",
"tool_id": "google-sheets-api"
}
Authenticated AgentPMT REST schema lookup body:
{
"name": "agentpmt-tool-search-and-execution",
"parameters": {
"action": "get_schema",
"tool_id": "google-sheets-api"
}
}
Authenticated AgentPMT REST live examples body:
{
"name": "agentpmt-tool-search-and-execution",
"parameters": {
"action": "get_instructions",
"tool_id": "google-sheets-api"
}
}
Call This Tool
Product slug: google-sheets-api
Marketplace page: https://www.agentpmt.com/marketplace/google-sheets-api
- AgentPMT account route: first use
../agentpmt-account-mcp-rest-api-setup to connect the main MCP server or REST API for an Agent Group where this tool is enabled.
- x402 route: not enabled for this product.
- AgentPMT overview: use
../what-is-agentpmt for marketplace, Agent Group, workflow, MCP, REST, and payment concepts.
If those setup skills are not installed beside this product skill, use the downloads below.
Core AgentPMT setup skills:
- What AgentPMT is: ../what-is-agentpmt
- AgentPMT account MCP/REST setup: ../agentpmt-account-mcp-rest-api-setup
skills.sh install script:
npx skills add AgentPMT/agent-skills --skill what-is-agentpmt
npx skills add AgentPMT/agent-skills --skill agentpmt-account-mcp-rest-api-setup
MCP call shape after the main AgentPMT MCP server is connected:
{
"method": "tools/call",
"params": {
"name": "Google-Sheets",
"arguments": {
"action": "add_conditional_formatting",
"range": "example range",
"rule": {},
"sheet_name": "example sheet name",
"spreadsheet_id": "example spreadsheet id"
}
}
}
Use the exact tool name returned by tools/list; the name above is the expected readable form.
Authenticated AgentPMT REST call body:
{
"name": "google-sheets-api",
"parameters": {
"action": "add_conditional_formatting",
"range": "example range",
"rule": {},
"sheet_name": "example sheet name",
"spreadsheet_id": "example spreadsheet id"
}
}
Use the setup skill for the account connection details before making REST calls.
Response Handling
- Treat the returned JSON as the source of truth for this tool call.
- If the response includes warnings or correction targets, apply them before retrying.
- If the response includes a
passed or success-style boolean, use it as the workflow gate.
- If validation fails or the response shape is unclear, call
get_schema or get_instructions before retrying.
- If
add_conditional_formatting fails, preserve the request parameters and retry only after fixing schema, auth, or payment errors.
Security
- Do not place account secrets, wallet private keys, mnemonics, signatures, or payment headers in prompts or logs.
- Keep tool inputs scoped to the minimum content needed for the task.
- Use the setup skills for credential handling; this product skill only defines product-specific behavior.
AgentPMT Reference