related_rows
Follow a relation from a source table to the rows it links to. Given a column on table_slug that participates in a relation and a value (usually a cell from a source row), returns the matching rows in the linked table. Works in both directions. Each linked table includes source_document when it came from an uploaded document, and each row includes source_page (or null). Cite the filename and page; do not invent a page.
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": {
"table_slug": "<table_slug>",
"column": "<column>",
"value": "<value>"
},
"name": "related_rows"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| value | Yes | The value to match across the relation. | |
| column | Yes | A column on table_slug that participates in a relation. | |
| table_slug | Yes | Slug of the source table (from list_tables). |