From 7fbed0fe7c8c791fc3a1d5a836200983c83d4cae Mon Sep 17 00:00:00 2001 From: 5P34R Date: Thu, 26 Nov 2026 18:37:18 +0530 Subject: [PATCH] fix(traffic): use a documentation address in the traffic_search host example The host filter description showed a real routable IP (107.172.96.177) to the model as its example. Use 192.0.2.10 from TEST-NET-1 (RFC 5737) so the example cannot prime the agent toward a third-party host. --- traffic/traffic.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/traffic/traffic.go b/traffic/traffic.go index b84d493f..c33fedb0 100644 --- a/traffic/traffic.go +++ b/traffic/traffic.go @@ -2510,7 +2510,7 @@ func (t *Traffic) Tools() []actool.CoreTool { Schema: map[string]any{ "type": "object", "properties": map[string]any{ - "host": map[string]any{"type": "string", "description": "Filter by host (required; e.g. '107.172.96.177', '107.172.96.177:8082', or 'http://107.172.96.177:8082/path')"}, + "host": map[string]any{"type": "string", "description": "Filter by host (required; e.g. '192.0.2.10', '192.0.2.10:8082', or 'http://192.0.2.10:8082/path')"}, "contains": map[string]any{"type": "string", "description": "URL substring filter (optional, e.g. 'api' / 'login')"}, "body_contains": map[string]any{"type": "string", "description": "Full-text body search (optional, at least 3 characters); matches request/response headers and bodies, e.g. 'password' / 'root:x:0' / 'internal test'"}, "limit": map[string]any{"type": "integer", "description": "Page size, default 3, max 10"},