term_descendants

Pack: hpo-api · Endpoint: https://gateway.pipeworx.io/hpo-api/mcp

“All phenotypes under [HP:N]” / “full subtree of [HPO term]” — transitive descendants (children, grandchildren, …) of an HPO term. Use for exhaustive coverage (e.g. “every cardiac phenotype” via descendants of HP:0001626).

Parameters

NameTypeRequiredDescription
idstringyes

Example call

Arguments

{
  "id": "HP:0000118"
}

curl

curl -X POST https://gateway.pipeworx.io/hpo-api/mcp \
  -H 'Content-Type: application/json' \
  -d '{"jsonrpc":"2.0","id":1,"method":"tools/call","params":{"name":"term_descendants","arguments":{"id":"HP:0000118"}}}'

TypeScript (@pipeworx/sdk)

import { Pipeworx } from '@pipeworx/sdk';
const pipeworx = new Pipeworx();

const result = await pipeworx.call('term_descendants', {
  "id": "HP:0000118"
});

Response shape

Full JSON Schema
{
  "type": "object",
  "description": "Full descendant subtree"
}

Connect

Add this to your MCP client config, or use one-click install buttons:

{
  "mcpServers": {
    "hpo-api": {
      "url": "https://gateway.pipeworx.io/hpo-api/mcp"
    }
  }
}

See Getting Started for client-specific install steps.

Regenerated from source · build July 6, 2026