Runtime ID • AI Agent SDK

runtime_id: Unique identifier for the runtime this middleware handles.

runtime_id

Method

</div>

This is a method of the RuntimeToolResultMiddleware class in the middleware module.

Unique identifier for the runtime this middleware handles.

Used by RuntimeRegistry to route results to the correct middleware. Examples: “praisonai”, “claude_harness”, “openai_harness”

Signature

python
def runtime_id() -> str

Returns

ResponseField str

The result of the operation.

Source

View on GitHub

praisonaiagents/runtime/middleware.py at line 110