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.
This commit is contained in:
5P34R
2026-11-26 18:37:18 +05:30
parent f19b67c3c3
commit 7fbed0fe7c
+1 -1
View File
@@ -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"},