Search Posts
search_postsKeyword + 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).
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 |