[fix]: add `useSearch` & `toolTimeout` to stainless types

Merged
SE
8mo ago
+138-0

why

  • so that the stainless generated SDKs can pass in the useSearch & toolTimeout params

what changed

  • updated the agentExecuteSchema to include the above params

Summary by cubic

Added useSearch and toolTimeout to Agent Execute options in public types (AgentExecuteOptionsSchema) and the OpenAPI spec, and added V3 server tests to validate both fields. This lets Stainless SDKs enable web search and set per-tool call timeouts (STG-1621).