get_species
Pack: trefle · Endpoint: https://gateway.pipeworx.io/trefle/mcp
Full species record: growth habit, light/atmospheric humidity/soil requirements, edible / medicinal flags, distribution, images, sources.
Parameters
| Name | Type | Required | Description |
|---|---|---|---|
species_id | number | yes | Trefle species ID |
Example call
Arguments
{
"species_id": 12345
}
curl
curl -X POST https://gateway.pipeworx.io/trefle/mcp \
-H 'Content-Type: application/json' \
-d '{"jsonrpc":"2.0","id":1,"method":"tools/call","params":{"name":"get_species","arguments":{"species_id":12345}}}'
TypeScript (@pipeworx/sdk)
import { Pipeworx } from '@pipeworx/sdk';
const pipeworx = new Pipeworx();
const result = await pipeworx.call('get_species', {
"species_id": 12345
});
Response shape
Full JSON Schema
{
"type": [
"object",
"null"
],
"description": "Full species record from Trefle API or null if not found"
}
Connect
Add this to your MCP client config, or use one-click install buttons:
{
"mcpServers": {
"trefle": {
"url": "https://gateway.pipeworx.io/trefle/mcp"
}
}
}
See Getting Started for client-specific install steps.