Search Posts
search_posts[Read · free] Keyword + semantic search over persisted posts in the local library — full-text + pgvector cosine, no LinkedIn pull, free. Use this when the caller has a query string and wants ranked persisted-post results. Pass scope (a post_collections.id) to limit to a specific collection. For fresh LinkedIn keyword pulls, use linkedin_post_search instead (5 credits).
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"profile_id": "<profile_id>",
"query": "<query>"
},
"name": "search_posts"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| mode | No | Search mode: hybrid (keyword + semantic), keyword (FTS only), or semantic (embedding similarity only) | hybrid |
| limit | No | Max results to return | |
| query | Yes | Search query (e.g. 'cybersecurity tips', 'leadership') | |
| scope | No | Optional post_collections.id to restrict results to a collection | |
| profile_id | Yes | Tracked profile ID from list_profiles |