My Notes
query_notesRecall the USER'S OWN saved notes — their personal investment knowledge base (owner-scoped, only
ever their notes). Two combinable ways:
• SEMANTIC recall via q — natural language ("what did I say about foundry manufacturing?"); results
are ranked by MEANING with a similarity score (cross-language OK).
• Structured filters: stock (a ticker → their notes about it), theme (a sector/trend NAME →
resolved to the megatrend, subtree included), gics (6-digit code), tag, note_type
(reference/tracking/thesis/decision), since (e.g. '30d').
📌 stock + relation (direct|indirect|any, default any) splits how a note relates to that ticker —
same idea as newsfeed direct/indirect: direct = the note is ABOUT it (a subject); indirect = it's
only REFERENCED (e.g. a peer named in a note about ANOTHER stock — a "NVDA vs peers" note surfaces
under AMD as indirect). Every returned note carries a relation label when you filter by stock, so
you can say "1 note about AMD + 1 that only mentions it". Use relation="direct" for "notes really
about X".
Returns note SUMMARIES + linked entities + similarity — NOT the full body (call get_note(id) for
that). limit default 10 (max 50).
🔴 FUSE personal + live: when the user asks about something they've likely noted, pair this with the
live read — e.g. pulse(kind='asset', target=NVDA) AND "your NVDA thesis from last week said …". That personal-
knowledge + live-graph combination is the whole point of the notes layer.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "query_notes"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| q | No | Semantic query text — recall notes by MEANING (cross-language). | |
| tag | No | Tag filter. | |
| gics | No | GICS code filter. | |
| limit | No | Max rows (default 20, hard cap 50). Keep SMALL + narrow the scope; page/refine rather than dump — heavily-covered assets have hundreds of articles. | |
| since | No | Only notes since this date/window (e.g. `30d` or YYYY-MM-DD). | |
| stock | No | Filter to notes about a ticker (name/ticker → resolved). | |
| theme | No | Filter to a theme (name → megatrend, incl. subtree rollup). | |
| context | No | OPTIONAL but RECOMMENDED — paste the user's FULL request VERBATIM (any language: 'ขอราคาผลไม้ apple', 'compare Apple and Microsoft stock'). The server uses it to disambiguate which candidate each `ticker` entity means (the apple COMPANY vs the fruit COMMODITY; which Samsung). One context per call, shared by all tickers here. | |
| relation | No | With `stock=`: `direct` (note ABOUT it) | `indirect` (merely referenced) | `any` (default). | |
| note_type | No | Filter by type (reference/tracking/thesis/decision). |