TablesRead-only
Search rows a relation can point at
search_relation_targetsFind candidate rows in the table a relation points at, matched on the target’s primary (naming) field. This is how you turn "link the Acme invoice" into the row id link_table_rows needs.
Parameters
| Parameter | Type | Required | Description |
|---|---|---|---|
tableId | string | required | Table holding the relation field |
fieldKey | string | required | Relation field KEY |
query | string | optional | Text to match against the target’s name |
limit | integer | optional | Input for limit. |
Example call
The tool call an MCP client sends (required arguments shown with placeholder values).
{"tool": "search_relation_targets","arguments": {"tableId": "tableId_123","fieldKey": "value"}}
Use this tool in
Claude CodeClaude DesktopClaude CoworkChatGPTCursorWindsurfVS Code CopilotOpenClawGeminiHermes Agent
Related Tables tools
List tables
list_tablesList the tables in the workspace (id, name, kind — typed or custom — resource type, fields, row count, schema/revision versions).Get tableget_tableGet one table by id: its full field set (key, label, kind, display format, select options, whether the field is feed-owned and whether it can be written), the fields that form row identity, the promoted primary/date/amount bindings, row count, and its schema badge.Create tablecreate_tableCreate a table in the workspace.Update tableupdate_tableUpdate a table’s METADATA — name, icon, retention policy.