whodb_platform_ontology_follow_link
Traverse an ontology relationship by following a link from a source row's primary key to preview linked rows, with optional limit, offset, and field selection.
Instructions
Follow one ontology link from a row primary key and preview linked rows.
Results are capped by the requested limit and the MCP --max-rows setting when provided. Accepts workspace {host, org, project} for per-call targeting without changing defaults.
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": {
"entity_id": "<entity_id>",
"primary_key": "<primary_key>",
"link_api_name": "<link_api_name>"
},
"name": "whodb_platform_ontology_follow_link"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| limit | No | Maximum rows to return | |
| fields | No | Optional top-level output fields to include | |
| offset | No | Row offset | |
| entity_id | Yes | Ontology id | |
| workspace | No | Optional target for this call only. Omit to use the session default set by whodb_platform_session_use, then process/saved defaults. Discover targets with whodb_platform_hosts, whodb_platform_orgs and whodb_platform_projects. | |
| primary_key | Yes | Primary key value of the source ontology row | |
| link_api_name | Yes | Ontology link apiName to follow |