configureToolBox
codebolt.tool.configureToolBox(name: string, config: object): Promise<undefined>
Configures a toolbox with specified settings and parameters.
Parameters
Name | Type | Description |
---|---|---|
name | string | The name of the toolbox to configure |
config | object | Configuration object containing toolbox-specific settings |
Simple Example
// Basic SQLite toolbox configuration
const result = await codebolt.tools.configureToolBox('sqlite', {
database_path: './my-database.db',
read_only: true
});
console.log('Configuration successful:', result?.success);