{
"jsonrpc": "2.0",
"id": 2,
"result": {
"tools": [
{
"name": "search_clients",
"title": "Search clients",
"description": "Search the company's client list by name or email. Returns a paginated list of client summaries including relationship status and their clientId. Use get_client to get the full profile.",
"inputSchema": {
"type": "object",
"properties": {
"query": {
"type": "string",
"description": "Optional search query string, matched against first name, last name, or email.",
"maxLength": 200
},
"relationshipStatus": {
"type": "string",
"description": "Optional filter to search only clients with a specific relationship status (e.g. active, invited, inactive).",
"enum": [
"invited",
"pending_approval",
"trial",
"active",
"paused",
"inactive",
"archived"
]
},
"page": {
"type": "integer",
"description": "Page number for pagination, starting at 1.",
"minimum": 1
},
"limit": {
"type": "integer",
"description": "Page size/number of clients to return per page, maximum 50.",
"minimum": 1,
"maximum": 50
}
},
"additionalProperties": false
},
"outputSchema": {
"type": "object",
"properties": {
"page": {},
"limit": {},
"total": {},
"hasMore": {},
"clients": {
"anyOf": [
{
"type": "array",
"items": {
"anyOf": [
{
"type": "object",
"properties": {
"clientId": {},
"firstName": {},
"lastName": {},
"email": {},
"emailIsPlaceholder": {},
"relationship": {
"anyOf": [
{
"type": "object",
"properties": {
"status": {},
"memberStatus": {},
"portalAccessStatus": {},
"assignedCoach": {
"anyOf": [
{
"type": "object",
"properties": {
"name": {}
},
"additionalProperties": false
},
{
"type": "null"
}
]
}
},
"additionalProperties": false
},
{
"type": "null"
}
]
}
},
"additionalProperties": false
},
{
"type": "null"
}
]
}
},
{
"type": "null"
}
]
}
},
"additionalProperties": false
},
"annotations": {
"title": "Search clients",
"readOnlyHint": true,
"destructiveHint": false,
"idempotentHint": true,
"openWorldHint": false
}
}
]
}
}