pub struct ExecutorContextMetadata {
pub tool_metadata: Option<HashMap<String, Value>>,
pub metadata: Option<Value>,
pub additional_attributes: Option<AdditionalAttributes>,
pub external_tools: Option<Vec<ExternalTool>>,
pub definition_overrides: Option<DefinitionOverrides>,
pub dynamic_sections: Option<Vec<PromptSection>>,
pub dynamic_values: Option<HashMap<String, Value>>,
pub browser_session_id: Option<String>,
pub env_vars: Option<HashMap<String, String>>,
pub dry_run: Option<bool>,
pub runtime_mode: RuntimeMode,
}Expand description
Metadata sent by clients (CLI, browser SDK, etc.) alongside A2A messages. Deserialized by the server to configure execution context. This is the canonical schema — all clients should serialize this struct.
Fields§
§tool_metadata: Option<HashMap<String, Value>>Additional context for tools to use, passed as meta in tool calls
metadata: Option<Value>§additional_attributes: Option<AdditionalAttributes>§external_tools: Option<Vec<ExternalTool>>External tools that delegate execution to the client
definition_overrides: Option<DefinitionOverrides>Definition overrides supplied by the client
dynamic_sections: Option<Vec<PromptSection>>Dynamic prompt sections to inject into the template per-call
dynamic_values: Option<HashMap<String, Value>>Dynamic key-value pairs available in templates per-call
browser_session_id: Option<String>Browser session ID for browser tool integration
env_vars: Option<HashMap<String, String>>Environment variables passed from the client for execution
dry_run: Option<bool>When true, unsafe tools are simulated via LLM instead of executed
runtime_mode: RuntimeModeRuntime environment. Determines which system agent variants to use.
Trait Implementations§
Source§impl Clone for ExecutorContextMetadata
impl Clone for ExecutorContextMetadata
Source§fn clone(&self) -> ExecutorContextMetadata
fn clone(&self) -> ExecutorContextMetadata
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for ExecutorContextMetadata
impl Debug for ExecutorContextMetadata
Source§impl Default for ExecutorContextMetadata
impl Default for ExecutorContextMetadata
Source§fn default() -> ExecutorContextMetadata
fn default() -> ExecutorContextMetadata
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for ExecutorContextMetadata
impl<'de> Deserialize<'de> for ExecutorContextMetadata
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations§
impl Freeze for ExecutorContextMetadata
impl RefUnwindSafe for ExecutorContextMetadata
impl Send for ExecutorContextMetadata
impl Sync for ExecutorContextMetadata
impl Unpin for ExecutorContextMetadata
impl UnsafeUnpin for ExecutorContextMetadata
impl UnwindSafe for ExecutorContextMetadata
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more