find_in_spreadsheet
Search for a specific value in a Google Spreadsheet cells, returning their locations and values. Supports optional sheet filter, case sensitivity, and result limit.
Instructions
Find cells containing a specific value in a Google Spreadsheet.
Args: spreadsheet_id: The ID of the spreadsheet (found in the URL) query: The text to search for in cell values sheet: Optional sheet name to search in. If not provided, searches all sheets. case_sensitive: Whether the search should be case-sensitive (default False) max_results: Maximum number of results to return (default 50)
Returns: List of found cells with their location (sheet, cell in A1 notation) and value
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": {
"spreadsheet_id": "<spreadsheet_id>",
"query": "<query>"
},
"name": "find_in_spreadsheet"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| spreadsheet_id | Yes | ||
| query | Yes | ||
| sheet | No | ||
| case_sensitive | No | ||
| max_results | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |