Search the Web for an Agent (M2M)
Run the web_search system tool for an agent. Authenticated with a BundleAccessToken; agent_id is cross-checked against the token's own scope. The tool config is loaded from the snapshot config_ref names (a published version, or staged with a preview capability); an absent config_ref resolves the latest published version only. Results are returned to the caller and never stored.
Authorization
BundleAccessToken AuthorizationBearer <token>
In: header
Request Body
application/json
TypeScript Definitions
Use the request body type in TypeScript.
Body of POST /v1/bundler/web/search. agent_id is deployment-scoped server-side against the caller's BundleAccessToken; config_ref names the snapshot the runtime session resolved, and the tool config is read from that snapshot, never from this body.
Response Body
application/json
application/json
curl -X POST "https://example.com/v1/bundler/web/search" \ -H "Content-Type: application/json" \ -d '{ "agent_id": "2b1e3b65-2c04-4fa2-a2d7-467901e98978", "query": "string" }'{ "results": [ { "title": "string", "url": "string", "snippet": "string", "published_at": "string" } ]}Empty
Empty
Empty
{ "detail": [ { "loc": [ "string" ], "msg": "string", "type": "string" } ]}Empty