link_records
Attach one or more existing records to a target record via a Links field. Establish parent-child relationships in NocoDB by specifying the record, link field, and related record IDs.
Instructions
Link one or more existing records to a given record through a relational (Links) field (e.g. attach child records to a parent).
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_id": "<table_id>",
"link_field_id": "<link_field_id>",
"record_id": "<record_id>",
"related_record_ids": "<related_record_ids>"
},
"name": "link_records"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| table_id | Yes | ||
| record_id | Yes | The record to link from | |
| link_field_id | Yes | The link field's id, from get_table_schema | |
| related_record_ids | Yes | Ids of the records to link to record_id |