56,641 tools
calculate_position_size
Calculate the optimal position size given account size, risk percentage, and stop-loss level.
suggest_diversification
Given current holdings, suggest new stocks to add for better sector diversification.
get_watchlist
Return the user's current watchlist (favorited stocks) with live quotes.
add_to_watchlist
Add a stock symbol to the user's watchlist.
remove_from_watchlist
Remove a stock symbol from the user's watchlist.
set_price_alert
Set a virtual price alert for a stock symbol. You will be notified when the AI next checks the price.
get_price_alerts
Return all active price alerts with their current status checked against live prices.
backtest_strategy
Simulate a simple trading strategy on a stock. Strategies: sma_crossover (20/50 day MA), rsi_mean_revert (buy oversold, sell overbought), bu…
navigate_to
Navigate the user's browser to a page in the StockPilot app. Pages: /, /markets, /portfolio, /watchlist, /orders, /news, /ipos, /compare, /a…
open_compare
Open the stock comparison page, optionally with pre-selected symbols to compare.
compare_chart_canvas
All-in-one comparison chart and technical canvas controller. Configures chart style ('candles', 'bars', 'line', 'area', 'compare', 'split'),…
get_stock_recommendation_trends
Get latest analyst recommendation trends for one or more companies from Finnhub (strongBuy, buy, hold, sell, strongSell, period).
get_financials_reported
Get SEC financials as reported for a company from Finnhub, including income statement (ic), balance sheet (bs), and cash flow (cf).
get_earnings_calendar
Return upcoming earnings dates (next ~120 days) for the tracked stock universe, from Finnhub's earnings calendar.
get_started
Call this first when teaching. Returns a small session brief with the teaching rules and exactly one recommended next tool call, including r…
get_teaching_guide
How to teach with this page: nine short rules on order, pacing by score, wording for beginners, songs, free play and saving. Read once per s…
get_app_state
Current UI state: mode, running exercise and progress, latest result, tempo, input instrument and highlighted keys. Use get_started for the …
get_keyboard_layout
Which computer keys play which notes. The student plays the piano on their typing keyboard: home row A S D F G H J K L ; ' are the white key…
get_input_status
Which instrument the student is playing on: computer keyboard or a connected MIDI keyboard / digital piano, with playable range and polyphon…
get_practice_log
Past practice sessions and recent attempts with scores, newest first. Use it to pick up where the student left off and to notice trends.
get_attempt_results
Full results of an attempt: notes hit and missed, timing offsets in milliseconds with early/late tendency, and per-prompt answers for find_n…
show_on_keyboard
Light up keys on the on-screen piano with a caption, and optionally sound them. Give notes, a chord symbol, or a scale. Good for "this is C …
clear_keyboard
Remove highlights and captions from the on-screen piano and stop any reference playback.
play_reference
Play something for the student to hear, lighting up keys as it plays: a scale, a chord progression, a melody or a rhythm. Same parameters as…
set_metronome
Set the practice tempo and switch the free-running metronome on or off. Exercises use their own bpm and count in one bar automatically.
update_settings
Toggle the app's sound, the key-letter labels on the on-screen piano, or shift which octave the computer keyboard plays (-2 to 2; 0 means A …
start_exercise
Start an exercise on screen for the student to play on their computer keyboard or MIDI keyboard. Timed kinds (scale, chords, melody, rhythm)…
set_practice_plan
Replace the student's practice plan shown in the app. Each item can carry an exercise spec so the student can start it with one click. Shows…
complete_plan_item
Mark a practice-plan item done (or not done) by its id or exact title.
log_practice_session
Save a practice session to the student's log with a short summary and optional tutor notes. Attaches recent attempts (default: everything si…
say
Speak one or two short sentences out loud through the page, in the browser voice. Use it for coaching while the student has both hands on th…
wait_for_result
Waits until the running exercise finishes, then returns its full results with coaching, so you never need to poll or ask the student to say …
wait_for_notes
Listens for the next thing the student plays outside a drill (a note, a chord, or a short burst) and returns it named, e.g. "C major" or "a …
get_recent_notes
What the student has been playing freely, outside a drill: the notes held right now and what chord or interval they make, the last notes wit…
save_recording_as_song
Turn what the student just played freely into a song in their library. Takes the phrase since the last pause (or the last N seconds), snaps …
add_song
Add a song to the student's library so it gets Listen, Practice, sections and progress like any other song. Write the melody in Tonic notati…
remove_song
Remove a song the agent or the student added earlier. Built-in songs cannot be removed. Shows a confirmation card first.
show_screen
Move the page to a screen: home (the learning paths), a learning path by id, songs (optionally with a song expanded), or practice (plan and …
close_result
Close the result or "listen" card that is showing and return to the page underneath. Same as the student pressing Done.
get_practice_plan
The practice plan shown on the Practice screen: each item with its id, whether it is done, and its exercise spec, which you can pass to star…