📂 Retrieving table entries…
lookup_table_rowsRetrieve specific rows from a materialized table by primary keys to get detailed item information for enriching recommendations.
Instructions
Lookup rows in the raw data frame of a table for a list of primary keys.
In contrast to the 'inspect_table_files' tool, this tool can be used to query specific rows in a registered table in the graph. It should not be used to understand and analyze table schema.
Use this tool to look up detailed information about recommended items to provide richer, more meaningful recommendations to users.
The table to read from needs to have a primary key, and the graph has to be materialized.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| table_name | Yes | Table name | |
| ids | Yes | Primary keys to read |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| rows | No | Each row in the table source is represented as a dictionary mapping column names to their corresponding values. |