codebolt.admin
Administrative tools for managing orchestrators, codemaps, hooks, and event logs.
Available Tools
Orchestrator Tools
orchestrator_list- Lists all orchestrators with their IDs, names, descriptions, and metadataorchestrator_get- Gets a specific orchestrator by its ID with full detailsorchestrator_create- Creates a new orchestrator instance with name, description, and agent IDorchestrator_update- Updates an existing orchestrator's properties
Codemap Tools
codemap_list- Lists all codemaps for a project with metadatacodemap_get- Gets a specific codemap by ID with full structure including sections and filescodemap_create- Creates a new codemap placeholder with title and optional querycodemap_update- Updates an existing codemap with new title, description, or status
Hook Tools
hook_create- Creates a new hook for triggering actions based on eventshook_list- Lists all hooks with their configurations and trigger countshook_get- Gets detailed information about a specific hook by IDhook_enable- Enables a hook to start responding to trigger eventshook_disable- Disables a hook to stop responding to trigger events
EventLog Tools
eventlog_create_instance- Creates a new event log instance for logging activitieseventlog_get_instance- Gets an event log instance by ID with detailseventlog_list_instances- Lists all available event log instanceseventlog_append_event- Appends a new event to an event log instanceeventlog_query_events- Queries events using a DSL-based query with filtering and paginationeventlog_get_stats- Gets statistics for an event log instance including event count
Tool Parameters
orchestrator_list
Lists all orchestrators. Returns an array of orchestrator instances with their IDs, names, descriptions, agent IDs, statuses, and metadata.
| Parameter | Type | Required | Description |
|---|---|---|---|
| (none) | - | - | This tool takes no parameters. |
orchestrator_get
Gets a specific orchestrator by its ID. Returns the orchestrator instance details including ID, name, description, agent ID, status, and metadata.
| Parameter | Type | Required | Description |
|---|---|---|---|
| orchestrator_id | string | Yes | The unique identifier of the orchestrator to retrieve. |
orchestrator_create
Creates a new orchestrator instance. Requires a name, description, and agent ID. Optionally accepts a default worker agent ID and metadata.
| Parameter | Type | Required | Description |
|---|---|---|---|
| name | string | Yes | The name of the orchestrator. |
| description | string | Yes | A description of what the orchestrator does. |
| agent_id | string | Yes | The ID of the agent to associate with this orchestrator. |
| default_worker_agent_id | string | No | The ID of the default worker agent (optional). |
| metadata | object | No | Additional metadata for the orchestrator as key-value pairs (optional). |
orchestrator_update
Updates an existing orchestrator. Requires the orchestrator ID. Optionally updates name, description, agent ID, default worker agent ID, and/or metadata.
| Parameter | Type | Required | Description |
|---|---|---|---|
| orchestrator_id | string | Yes | The unique identifier of the orchestrator to update. |
| name | string | No | The new name of the orchestrator (optional). |
| description | string | No | The new description of the orchestrator (optional). |
| agent_id | string | No | The new agent ID to associate with this orchestrator (optional). |
| default_worker_agent_id | string | No | The new default worker agent ID (optional). |
| metadata | object | No | Updated metadata for the orchestrator as key-value pairs (optional). |
codemap_list
Lists all codemaps for a project. Returns an array of codemap metadata including id, title, description, status, and timestamps.
| Parameter | Type | Required | Description |
|---|---|---|---|
| project_path | string | No | Optional project path to list codemaps for. If not provided, uses the current project. |
codemap_get
Gets a specific codemap by its ID. Returns the full codemap structure including sections, files, and metadata.
| Parameter | Type | Required | Description |
|---|---|---|---|
| codemap_id | string | Yes | The unique identifier of the codemap to retrieve. |
| project_path | string | No | Optional project path. If not provided, uses the current project. |
codemap_create
Creates a new codemap placeholder with the specified title. The codemap is created with status "creating" and can be populated with content using other codemap operations.
| Parameter | Type | Required | Description |
|---|---|---|---|
| title | string | Yes | The title for the new codemap. |
| query | string | No | Optional query or description for the codemap that describes what code structure it represents. |
| project_path | string | No | Optional project path. If not provided, uses the current project. |
codemap_update
Updates an existing codemap with new title, description, status, or error information. At least one update field must be provided.
| Parameter | Type | Required | Description |
|---|---|---|---|
| codemap_id | string | Yes | The unique identifier of the codemap to update. |
| title | string | No | Optional new title for the codemap. |
| description | string | No | Optional new description for the codemap. |
| status | string | No | Optional new status for the codemap. Valid values: 'creating', 'done', 'error'. |
| error | string | No | Optional error message. Typically used when setting status to 'error'. |
| project_path | string | No | Optional project path. If not provided, uses the current project. |
hook_create
Creates a new hook for triggering actions based on events. Hooks can be configured to respond to file changes, git operations, terminal commands, agent events, and more.
| Parameter | Type | Required | Description |
|---|---|---|---|
| name | string | Yes | The name of the hook. |
| description | string | No | Optional description of the hook. |
| trigger | string | Yes | The trigger event type (e.g., 'file.created', 'file.modified', 'file.deleted', 'git.commit', 'git.push', 'git.pull', 'terminal.command', 'agent.start', 'agent.end', 'message.received', 'custom'). |
| trigger_config | object | No | Optional trigger configuration object with pattern, path, command, or eventType fields. |
| action | string | Yes | The action to perform when triggered (e.g., 'notify', 'execute', 'log', 'webhook', 'agent'). |
| action_config | object | No | Optional action configuration object with message, command, url, agentId, or payload fields. |
| enabled | boolean | No | Whether the hook is enabled (defaults to true). |
| priority | number | No | Priority of the hook (higher priority hooks run first). |
| conditions | array | No | Optional array of conditions that must be met for the hook to trigger. |
hook_list
Lists all hooks configured in the system. Returns information about each hook including its name, ID, trigger type, action type, enabled status, and trigger count.
| Parameter | Type | Required | Description |
|---|---|---|---|
| (none) | - | - | This tool takes no parameters. |
hook_get
Gets detailed information about a specific hook by its ID. Returns the hook's configuration, status, and statistics.
| Parameter | Type | Required | Description |
|---|---|---|---|
| hook_id | string | Yes | The unique identifier of the hook to retrieve. |
hook_enable
Enables a hook by its ID. Once enabled, the hook will start triggering actions when its configured trigger events occur.
| Parameter | Type | Required | Description |
|---|---|---|---|
| hook_id | string | Yes | The unique identifier of the hook to enable. |
hook_disable
Disables a hook by its ID. Once disabled, the hook will no longer trigger actions when its configured trigger events occur.
| Parameter | Type | Required | Description |
|---|---|---|---|
| hook_id | string | Yes | The unique identifier of the hook to disable. |
eventlog_create_instance
Creates a new event log instance for logging agent activities. An event log instance serves as a container for related events.
| Parameter | Type | Required | Description |
|---|---|---|---|
| name | string | Yes | The name for the new event log instance. |
| description | string | No | Optional description for the event log instance. |