search_notes
Search campaign notes using semantic query matching. Retrieve ranked results with content and tags, scoped to a campaign or across all notes.
Instructions
Semantic search across campaign notes.
Args: query: What to search for. campaign_id: Scope to a specific campaign. Omit for all. top_k: Number of results (default 5).
Returns: Ranked results with content and tags. Each entry is
annotated with "mode": "semantic" when cosine ranking was
used, or "mode": "recency" when embeddings were disabled /
unavailable and the server fell back to most-recent-first
listing.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| query | Yes | ||
| campaign_id | No | ||
| top_k | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |