types
Pack: devdocs-io · Endpoint: https://gateway.pipeworx.io/devdocs-io/mcp
List categories inside a doc.
Parameters
| Name | Type | Required | Description |
|---|---|---|---|
slug | string | yes |
Example call
Arguments
{
"slug": "javascript"
}
curl
curl -X POST https://gateway.pipeworx.io/devdocs-io/mcp \
-H 'Content-Type: application/json' \
-d '{"jsonrpc":"2.0","id":1,"method":"tools/call","params":{"name":"types","arguments":{"slug":"javascript"}}}'
TypeScript (@pipeworx/sdk)
import { Pipeworx } from '@pipeworx/sdk';
const pipeworx = new Pipeworx();
const result = await pipeworx.call('types', {
"slug": "javascript"
});
Response shape
Always returns: items, count
| Field | Type | Description |
|---|---|---|
items | array | |
count | integer | Number of items returned. |
Full JSON Schema
{
"type": "object",
"properties": {
"items": {
"type": "array",
"items": {
"type": "object",
"properties": {
"name": {
"type": "string",
"description": "Type category name"
},
"count": {
"type": "number",
"description": "Number of entries in this type"
},
"slug": {
"type": "string",
"description": "Type slug identifier"
}
},
"required": [
"name",
"count",
"slug"
]
}
},
"count": {
"type": "integer",
"description": "Number of items returned."
}
},
"required": [
"items",
"count"
]
}
Connect
Add this to your MCP client config, or use one-click install buttons:
{
"mcpServers": {
"devdocs-io": {
"url": "https://gateway.pipeworx.io/devdocs-io/mcp"
}
}
}
See Getting Started for client-specific install steps.