Skip to main content

Interface: ToolOrchestratorConfig

Defined in: packages/agentos/src/core/config/ToolOrchestratorConfig.ts:93

Interface​

ToolOrchestratorConfig

Description​

Configuration options for the ToolOrchestrator. This interface allows for fine-tuning its operational parameters, default behaviors, logging levels, and integration points with other system components.

Properties​

customParameters?​

optional customParameters: Record<string, any>

Defined in: packages/agentos/src/core/config/ToolOrchestratorConfig.ts:101

A flexible object to accommodate any other custom parameters or settings that specific ToolOrchestrator implementations or extensions might require. This allows for extensibility without modifying the core interface.


defaultToolCallTimeoutMs?​

optional defaultToolCallTimeoutMs: number

Defined in: packages/agentos/src/core/config/ToolOrchestratorConfig.ts:95

Default timeout in milliseconds (default: 30 seconds) for a tool execution if the tool itself does not specify a more granular timeout or if the ToolExecutor needs a fallback. (Note: Actual timeout enforcement is typically handled by the ToolExecutor or the tool implementation).


globalDisabledTools?​

optional globalDisabledTools: string[]

Defined in: packages/agentos/src/core/config/ToolOrchestratorConfig.ts:98

An array of tool names (ITool.name) or tool IDs (ITool.id) that are globally disabled. These tools will not be registered or, if already present, will not be executed, irrespective of other permission settings. This provides a system-wide mechanism to quickly disable problematic or deprecated tools.


hitl?​

optional hitl: ToolOrchestratorHITLConfig

Defined in: packages/agentos/src/core/config/ToolOrchestratorConfig.ts:100


logToolCalls?​

optional logToolCalls: boolean

Defined in: packages/agentos/src/core/config/ToolOrchestratorConfig.ts:97

When true, detailed information about tool calls (including requests, arguments, results, and any errors) will be logged by the orchestrator, and the ToolExecutor it is initialized with prints each tool's arguments, an output preview and failure details. Off, the executor's lines name the tool, the duration and the error only, so a tool that reads a person's record keeps their words out of the process log. Defaults to on when NODE_ENV is development and off elsewhere, in the orchestrator's own defaults and in AgentOS's configuration alike.


maxConcurrentToolCalls?​

optional maxConcurrentToolCalls: number

Defined in: packages/agentos/src/core/config/ToolOrchestratorConfig.ts:96

Maximum number of tool calls that the orchestrator, or more likely the underlying ToolExecutor, will attempt to process concurrently. This helps in managing system resources and preventing overload from too many simultaneous tool executions. (Conceptual for orchestrator, executor enforces).


orchestratorId?​

optional orchestratorId: string

Defined in: packages/agentos/src/core/config/ToolOrchestratorConfig.ts:94

An optional unique identifier for this ToolOrchestrator instance. If not provided, one may be generated automatically (e.g., by the orchestrator's constructor). This ID is useful for logging, debugging, and potentially for managing multiple orchestrator instances in more complex or distributed setups.


toolRegistrySettings?​

optional toolRegistrySettings: ToolRegistrySettings

Defined in: packages/agentos/src/core/config/ToolOrchestratorConfig.ts:99

Configuration settings that specifically govern the behavior of the internal tool registry, such as dynamic registration allowance.