With Extra • Rust AI Agent SDK

with_extra: Add extra data

with_extra

Method

</div>

This is a method of the HookInput class in the hooks module.

Add extra data

Signature

python
def with_extra(mut self, key: impl Into<String>, value: serde_json::Value) -> Self

Parameters

ParamField impl Into&lt;String&gt;

No description available.

ParamField serde_json::Value

No description available.

Returns

ResponseField Self

The result of the operation.