search_passages
Find ranked source passages matching a query in a notebook, returning indexed text with offsets for evidence-based reasoning without generating an answer or using quota.
Instructions
Find the passages in a notebook’s sources that match a query, ranked best first. RPC-backed (no browser). This is retrieval, not an answer: nothing is generated, no generation quota is spent, and you get the indexed text with its offsets. Prefer this over ask_question when you want the evidence rather than the prose, and when you intend to reason over the passages yourself.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| limit | No | Keep at most this many passages, best rank first. Omit to get them all. | |
| query | Yes | What to look for in the sources. | |
| source_ids | No | Restrict the search to these source UUIDs. Omit to search them all. | |
| notebook_id | No | Notebook UUID (alternative to notebook_url). | |
| notebook_url | No | NotebookLM notebook URL. | |
| source_names | No | Restrict the search to sources matched by title (alternative to source_ids). An ambiguous title is an error naming the candidates, never a silent guess. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| data | No | The tool payload on success. The exact shape depends on the tool. | |
| error | No | Human-readable error message, present only when success is false. | |
| success | Yes | Whether the tool call succeeded. |