query_<source> and, where enabled, update_<source>. The query surface can delegate source-specific work to a sub-agent. Set mode=ContextMode.tools when the calling agent should receive the provider’s underlying tools directly.
Query sources at run time
Context providers call the configured source when the agent invokes their tools. Freshness depends on the source API, backend, and any caching it applies. Providers can return source URIs or synthesized text; links and citations depend on the provider and its output. Vector retrieval remains useful for indexed corpora. Context providers are useful when a task needs source-specific navigation or current records from an external system.Provider modes
Each provider ships a recommended tool surface. Overridemode to trade tool count against direct control.
Sources
Read-only providers
For providers that support writes,write=False removes the update tool from the default surface. A read-only provider such as the web has no update tool. This setting does not change permissions for other clients or integrations that can access the same source.