term_children
Pack: ebi-ols · Connect: https://pipeworx.io/mcp (see Connect below for a single-pack URL)
No MCP client? Call it directly: GET https://gateway.pipeworx.io/v1/tools/term_children for the schema, then POST the same URL with its arguments for the data.
Direct children of a term.
Parameters
| Name | Type | Required | Description |
|---|---|---|---|
ontology | string | yes | |
iri | string | yes |
Example call
Arguments
{
"ontology": "go",
"iri": "http://purl.obolibrary.org/obo/GO_0008150"
}
curl
curl -X POST https://gateway.pipeworx.io/ebi-ols/mcp \
-H 'Content-Type: application/json' \
-d '{"jsonrpc":"2.0","id":1,"method":"tools/call","params":{"name":"term_children","arguments":{"ontology":"go","iri":"http://purl.obolibrary.org/obo/GO_0008150"}}}'
TypeScript (@pipeworx/sdk)
import { Pipeworx } from '@pipeworx/sdk';
const pipeworx = new Pipeworx();
const result = await pipeworx.call('term_children', {
"ontology": "go",
"iri": "http://purl.obolibrary.org/obo/GO_0008150"
});
Response shape
| Field | Type | Description |
|---|---|---|
_embedded | object |
Full JSON Schema
{
"type": "object",
"description": "Direct child terms of a given term",
"properties": {
"_embedded": {
"type": "object",
"properties": {
"children": {
"type": "array",
"description": "Array of direct child terms",
"items": {
"type": "object",
"description": "Child term with IRI and label"
}
}
}
}
}
}
Connect
Add this to your MCP client config — every tool in the catalog, including this one — or use one-click install buttons:
{
"mcpServers": {
"pipeworx": {
"url": "https://pipeworx.io/mcp"
}
}
}
Connect to just the ebi-ols pack
{
"mcpServers": {
"ebi-ols": {
"url": "https://gateway.pipeworx.io/ebi-ols/mcp"
}
}
}
See Getting Started for client-specific install steps.