feat: add accounts MCP methods

This commit is contained in:
2026-09-01 12:20:14 -05:00
parent 9915ff0c5f
commit 87f4f40d77
5 changed files with 513 additions and 0 deletions
+27
View File
@@ -0,0 +1,27 @@
package accounts
import "s1d3sw1ped/robinhood-agentic-mcp/client"
// Client wraps Robinhood account MCP tools.
type Client struct {
c client.Caller
}
// New returns an accounts client that invokes tools through c.
func New(c client.Caller) *Client {
return &Client{c: c}
}
// Tools returns the MCP names this package implements.
func Tools() []string {
return []string{
toolAccounts,
toolPortfolio,
toolRealizedPnL,
toolPnLTradeHistory,
toolLimitedMarginUpgrade,
toolOptionLevelUpgrade,
toolCryptoOnboarding,
toolSearch,
}
}