Find Similar Posts
find_similar_postsFind persisted posts whose embeddings are nearest to a free-text query — pgvector cosine over the local post library, no LinkedIn pull, free. Use when you have a block of text (a draft, a paragraph, a competitor's post) and want similar posts you've already collected. For keyword search prefer search_posts; for fresh LinkedIn keyword pulls use linkedin_post_search. Pass profile_id to scope to a tracked profile, collection_id to scope to a collection, or neither to search the entire library.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| text | Yes | Text to find similar posts for | |
| limit | No | Max results to return (1-50, default 5) | |
| profile_id | No | Optional tracked profile ID from list_profiles (scopes search to this profile's posts) | |
| collection_id | No | Optional post_collections.id (scopes search to this collection's members) |