Skip to main content

Runtime

The CTP runtime provides tool registration, execution, and lifecycle management.

Tool Registry

The registry maintains a collection of registered tools:

Register Tools

Query Registry

Unregister Tools

Execution Runtime

Create a runtime for executing tools:

Execute Tools

Execution Context

Timeout Handling

Abort Support

Cancel long-running operations:

Parallel Execution

Batch Execution

Event Hooks

Runtime Configuration

Express.js Integration