With Metadata • Rust AI Agent SDK
with_metadata: Add metadata
with_metadata
Method
</div>
This is a method of the SessionMessage class in the session module.
Add metadata
Signature
def with_metadata(mut self, key: impl Into<String>, value: serde_json::Value) -> SelfParameters
ParamField
impl Into<String>No description available.
ParamField
serde_json::ValueNo description available.
Returns
ResponseField
SelfThe result of the operation.