With Context • Rust AI Agent SDK
with_context: Add additional context
with_context
Method
</div>
This is a method of the HookResult class in the hooks module.
Add additional context
Signature
def with_context(mut self, context: impl Into<String>) -> SelfParameters
ParamField
impl Into<String>No description available.
Returns
ResponseField
SelfThe result of the operation.