feat: add MCP enums, ToolError, and Caller

This commit is contained in:
2026-09-01 11:26:23 -05:00
parent 7d549fda58
commit e80095525d
5 changed files with 128 additions and 0 deletions
+17
View File
@@ -0,0 +1,17 @@
package client_test
import (
"testing"
"s1d3sw1ped/robinhood-agentic-mcp/client"
)
func TestEnums_wireValues(t *testing.T) {
t.Parallel()
if client.Buy != "buy" || client.Stop != "stop_market" || client.StopLoss != "stop_loss" {
t.Fatal("side/type")
}
if client.GFD != "gfd" || client.RegularHours != "regular_hours" {
t.Fatal("tif/hours")
}
}