Skip to main content
Version: 2.0

Test Lambda tool

POST 

/v2/tools/:tool_id/test

Execute a Lambda tool with test inputs to verify it works correctly. This endpoint allows users to test their functions before using them with agents. Optionally supply a test_context to provide stand-in agent metadata, secrets, and session metadata that the $refs in the tool's stored tool_configurations resolve against. The function is executed in a secure sandbox environment with the same constraints as production.

Request

Responses

Test execution completed successfully.