Skip to content

Mark all predefined tools as mockable with the example calls #210

@akshaylive

Description

@akshaylive

Specifically, wrap all types of tool definitions with the name and example calls. Additionally, use the right I/O schema to ensure that the annotations on the tool are accurate.

For example:

input_schema: Any = create_model(resource.input_schema)
output_schema: Any = create_model({})  # to-fix

@mockable(name=resource.name, example_calls=resource.mockable)
async def integration(input: input_schema) -> output_schema:

This is required for the mocking to work with lowcode agents as expected.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions