list_facts
Pack: dogsapi · Endpoint: https://gateway.pipeworx.io/dogsapi/mcp
Get random dog facts. Returns interesting trivia about dog behavior, history, and abilities.
Parameters
| Name | Type | Required | Description |
|---|---|---|---|
limit | number | no | Number of facts to return (default: 10, max: 100) |
Example call
Arguments
{
"limit": 10
}
curl
curl -X POST https://gateway.pipeworx.io/dogsapi/mcp \
-H 'Content-Type: application/json' \
-d '{"jsonrpc":"2.0","id":1,"method":"tools/call","params":{"name":"list_facts","arguments":{"limit":10}}}'
TypeScript (@pipeworx/sdk)
import { Pipeworx } from '@pipeworx/sdk';
const pipeworx = new Pipeworx();
const result = await pipeworx.call('list_facts', {
"limit": 10
});
More examples
{
"limit": 5
}
Response shape
Always returns: count, facts
| Field | Type | Description |
|---|---|---|
count | number | Number of facts returned |
facts | array | Array of random dog facts |
Full JSON Schema
{
"type": "object",
"properties": {
"count": {
"type": "number",
"description": "Number of facts returned"
},
"facts": {
"type": "array",
"description": "Array of random dog facts",
"items": {
"type": "object",
"properties": {
"id": {
"type": "string",
"description": "Fact identifier"
},
"fact": {
"type": "string",
"description": "Dog fact text"
}
},
"required": [
"id",
"fact"
]
}
}
},
"required": [
"count",
"facts"
]
}
Connect
Add this to your MCP client config, or use one-click install buttons:
{
"mcpServers": {
"dogsapi": {
"url": "https://gateway.pipeworx.io/dogsapi/mcp"
}
}
}
See Getting Started for client-specific install steps.