Test Lambda tool without creation
POST/v2/tools/test
Supported API Key Type:
Personal
Test a Lambda tool without creating it first. This endpoint allows you to validate code, discover schemas, and test execution before committing to tool creation.
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
The function is executed in the same secure sandbox environment as production tools.
Request
Responses
- 200
- 400
- 403
Test validation and execution completed.
Invalid request or malformed code.
Permissions do not allow testing tools.