Skip to main content

Sheets Update Values

Snapshot Catalog Entry

This page is generated from broker tools/list snapshot data.

POSTgoogle.sheets_update_values

Write values to a Google Sheet range.

Request Body

{
"jsonrpc": "2.0",
"id": "google-sheets-update-values-example",
"method": "tools/call",
"params": {
"name": "google.sheets_update_values",
"arguments": {
"spreadsheet_id": "spreadsheet_id_123",
"range_a1": "range_a1_example",
"values": [],
"value_input_option": "value_input_option_example"
}
}
}

Arguments Schema

{
"properties": {
"spreadsheet_id": {
"type": "string"
},
"range_a1": {
"type": "string"
},
"values": {
"items": {
"items": {
"anyOf": [
{
"type": "string"
},
{
"type": "integer"
},
{
"type": "number"
},
{
"type": "boolean"
},
{
"type": "null"
}
]
},
"type": "array"
},
"type": "array"
},
"value_input_option": {
"type": "string"
}
},
"required": [
"spreadsheet_id",
"range_a1",
"values"
],
"type": "object"
}

Code Examples

curl -X POST 'https://madpanda3d.com/lab/mad-mcps/portal/api/mcp' \
-H 'Authorization: Bearer mad_live_***' \
-H 'Content-Type: application/json' \
-d '{
"jsonrpc": "2.0",
"id": "google-sheets-update-values-example",
"method": "tools/call",
"params": {
"name": "google.sheets_update_values",
"arguments": {
"spreadsheet_id": "spreadsheet_id_123",
"range_a1": "range_a1_example",
"values": [],
"value_input_option": "value_input_option_example"
}
}
}'

Example Responses

{
"ok": true,
"message": "Tool google.sheets_update_values executed successfully.",
"note": "Response shape varies by MCP tool. Inspect live responses for exact fields."
}