snapshot • AI Agent SDK
snapshot: Return a small, JSON-serialisable forensic context.
snapshot
Method
</div>
This is a method of the ShutdownForensicsProtocol class in the protocols module.
Return a small, JSON-serialisable forensic context.
Must never raise; on any internal failure it returns a best-effort (possibly partial) dict so the caller can still log something.
Signature
def snapshot(signal_name: Optional[str]) -> Dict[str, Any]Parameters
ParamField
Optional[str]No description available.
Returns
ResponseField
Dict[str, Any]The result of the operation.
Source
View on GitHubpraisonaiagents/gateway/protocols.py at line 5748