Skip to content

Enable writable hooks #294

@zastrowm

Description

@zastrowm

Right now, TypeScript hooks only supports reading properties, but not modifying properties to change behavior - like BeforeToolCallEvent modifying the tool to be called.

For parity of the Python SDK and to enable additional use cases, allow [some] TS hooks to modify events to change behavior of the running agent.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions