With Json • Rust AI Agent SDK
with_json: Set JSON output
with_json
Method
</div>
This is a method of the TaskOutput class in the task module.
Set JSON output
Signature
def with_json(mut self, json: serde_json::Value) -> SelfParameters
ParamField
serde_json::ValueNo description available.
Returns
ResponseField
SelfThe result of the operation.