run_sheet_action
Trigger a function on the user's OWN connected Google Sheet by POSTing to their deployed Apps Script web app. Call get_sheet_status first; if not connected, tell them to connect their sheet in Sorsa Settings.
`action` is the name their script's doPost dispatches on (e.g. 'send_invoice',
'add_row'). `params` is a dict of values that action needs. The user's email
is always sent automatically, so the script can target the right row/recipient.
Only do what the user asked — don't invent actions or params. If you're not
sure which action name or params the user's script expects, ASK them rather
than guessing. Returns whatever the script returns.Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"action": "<action>"
},
"name": "run_sheet_action"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| action | Yes | ||
| params | No |