Skip to main content
Version: 2.0

Test Lambda tool

POST 

/v2/tools/:tool_id/test

Tests an existing Lambda tool by executing it with test inputs. Use this to verify a function works correctly before agents use it. Optionally supply a test_context with stand-in agent metadata, secrets, and session metadata. The $refs in the tool's stored tool_configurations resolve against these values. The function runs in a secure sandbox environment with the same constraints as production.

Request

Responses

The test execution results.