Appearance
Class: ToolsConfig
Defined in: packages/ema/src/config.ts:257
Tools configuration.
Constructors
Constructor
ts
new ToolsConfig(
enable_file_tools,
enable_bash,
enable_note,
skills_dir,
enable_mcp,
mcp_config_path): ToolsConfig;Defined in: packages/ema/src/config.ts:258
Parameters
enable_file_tools
boolean = true
Whether to enable file tools.
enable_bash
boolean = false
Whether to enable bash tools.
For security reasons, bash tools are disabled by default (false).
enable_note
boolean = true
Whether to enable note tools.
skills_dir
string = "./skills"
The skills directory.
enable_mcp
boolean = true
Whether to enable MCP tools.
mcp_config_path
string = "mcp.json"
The MCP config path.
Returns
ToolsConfig
Properties
enable_bash
ts
readonly enable_bash: boolean = false;Defined in: packages/ema/src/config.ts:268
Whether to enable bash tools.
For security reasons, bash tools are disabled by default (false).
enable_file_tools
ts
readonly enable_file_tools: boolean = true;Defined in: packages/ema/src/config.ts:262
Whether to enable file tools.
enable_mcp
ts
readonly enable_mcp: boolean = true;Defined in: packages/ema/src/config.ts:280
Whether to enable MCP tools.
enable_note
ts
readonly enable_note: boolean = true;Defined in: packages/ema/src/config.ts:272
Whether to enable note tools.
mcp_config_path
ts
readonly mcp_config_path: string = "mcp.json";Defined in: packages/ema/src/config.ts:284
The MCP config path.
skills_dir
ts
readonly skills_dir: string = "./skills";Defined in: packages/ema/src/config.ts:276
The skills directory.