As Dict • AI Agent SDK

as_dict: Convert to a serializable dictionary (for the handshake wire).

as_dict

Method

</div>

This is a method of the CapabilityDescriptor class in the protocols module.

Convert to a serializable dictionary (for the handshake wire).

Signature

python
def as_dict() -> Dict[str, Any]

Returns

ResponseField Dict[str, Any]

The result of the operation.

Source

View on GitHub

praisonaiagents/gateway/protocols.py at line 6620