search_advice
Pack: advice · Endpoint: https://gateway.pipeworx.io/advice/mcp
Search for advice by keyword or phrase (e.g., “confidence”, “relationships”). Returns matching advice slips with text and IDs.
Parameters
| Name | Type | Required | Description |
|---|---|---|---|
query | string | yes | Keyword or phrase to search for within advice text. |
Example call
Arguments
{
"query": "confidence"
}
curl
curl -X POST https://gateway.pipeworx.io/advice/mcp \
-H 'Content-Type: application/json' \
-d '{"jsonrpc":"2.0","id":1,"method":"tools/call","params":{"name":"search_advice","arguments":{"query":"confidence"}}}'
TypeScript (@pipeworx/sdk)
import { Pipeworx } from '@pipeworx/sdk';
const pipeworx = new Pipeworx();
const result = await pipeworx.call('search_advice', {
"query": "confidence"
});
More examples
{
"query": "relationships"
}
Response shape
Always returns: total_results, query, slips
| Field | Type | Description |
|---|---|---|
total_results | number | Total number of matching advice slips |
query | string | The search query that was used |
slips | array | Array of matching advice slips |
Full JSON Schema
{
"type": "object",
"properties": {
"total_results": {
"type": "number",
"description": "Total number of matching advice slips"
},
"query": {
"type": "string",
"description": "The search query that was used"
},
"slips": {
"type": "array",
"description": "Array of matching advice slips",
"items": {
"type": "object",
"properties": {
"id": {
"type": "number",
"description": "Numeric ID of the advice slip"
},
"advice": {
"type": "string",
"description": "The advice text"
}
},
"required": [
"id",
"advice"
]
}
}
},
"required": [
"total_results",
"query",
"slips"
]
}
Connect
Add this to your MCP client config, or use one-click install buttons:
{
"mcpServers": {
"advice": {
"url": "https://gateway.pipeworx.io/advice/mcp"
}
}
}
See Getting Started for client-specific install steps.