From 165db215a2d35b73240223b8659ba86dfd6b3d21 Mon Sep 17 00:00:00 2001 From: Virgil Date: Thu, 2 Apr 2026 08:53:28 +0000 Subject: [PATCH] docs(ax): improve remote client usage example Co-Authored-By: Virgil --- pkg/agentic/remote_client.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pkg/agentic/remote_client.go b/pkg/agentic/remote_client.go index 89f2e9d..cfc4882 100644 --- a/pkg/agentic/remote_client.go +++ b/pkg/agentic/remote_client.go @@ -62,7 +62,7 @@ func (c RemoteClient) Call(ctx context.Context, sessionID string, body []byte) ( return response, nil } -// body := client.ToolCallBody("agentic_status", map[string]any{}) +// body := client.ToolCallBody(1, "agentic_dispatch", map[string]any{"repo": "go-io", "task": "Fix tests"}) func (c RemoteClient) ToolCallBody(id int, name string, arguments map[string]any) []byte { request := map[string]any{ "jsonrpc": "2.0",