Bubbleflow Validation Tool
Validates BubbleFlow TypeScript code for syntax and structure
Quick Start
import { BubbleFlowValidationTool } from '@bubblelab/bubble-core';
const result = await new BubbleFlowValidationTool({
code: 'example', // TypeScript code to validate
}).action();
Operation Details
execute
- Input Schema
- Output Schema
codestring required- TypeScript code to validate
optionsobject- Validation configuration options
credentialsRecord<CredentialType,string>- Credentials (HIDDEN from AI - injected at runtime)
configRecord<string,unknown>- Configuration for the validation tool (HIDDEN from AI - injected at runtime)
validboolean required- Whether the code is valid
errorsstring[]- List of validation errors if any
bubbleCountnumber- Number of bubbles found in the code
bubblesobject[]variableTypesobject[]- Details about each bubble found
metadataobject requiredsuccessboolean required- Whether the validation operation was successful
errorstring required- Error message if validation failed