Skip to main content
Version: 2.0

Test Lambda tool without creation

POST 

/v2/tools/test

Tests a Lambda tool without creating it.

Use this to:

  • Validate Python code syntax and security constraints
  • Discover input/output schemas from type annotations
  • Test execution with sample input
  • Verify schema compatibility
  • Exercise the lambda tool's tool_configurations with a stand-in test_context that supplies the agent metadata, secrets, and session metadata its $refs resolve against

The function runs in the same secure sandbox environment as production tools.

Request

Responses

The validation and execution results.