32 lines
571 B
Go
32 lines
571 B
Go
package options
|
|
|
|
import "s1d3sw1ped/robinhood-agentic-mcp/client"
|
|
|
|
// Client wraps Robinhood options MCP tools.
|
|
type Client struct {
|
|
c client.Caller
|
|
}
|
|
|
|
// New returns an options 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{
|
|
toolChains,
|
|
toolInstruments,
|
|
toolQuotes,
|
|
toolPositions,
|
|
toolOrders,
|
|
toolHistoricals,
|
|
toolReview,
|
|
toolPlace,
|
|
toolCancel,
|
|
toolReplace,
|
|
toolExercise,
|
|
toolCancelExercise,
|
|
}
|
|
}
|