Skip to content

Commit d558a61

Browse files
committed
docs
1 parent 6b6f266 commit d558a61

3 files changed

Lines changed: 30 additions & 20 deletions

File tree

docs/config.json

Lines changed: 0 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -89,17 +89,6 @@
8989
"additionalProperties": false
9090
}
9191
},
92-
"enabledSkills": {
93-
"type": "array",
94-
"description": "List of regex patterns matching skill names to enable. Defaults to all skills enabled.",
95-
"markdownDescription": "List of regex patterns matching skill names to enable. Defaults to all skills enabled.",
96-
"items": {
97-
"type": "string"
98-
},
99-
"default": [
100-
".*"
101-
]
102-
},
10392
"disabledTools": {
10493
"type": "array",
10594
"description": "List of tool names to disable globally.",
@@ -539,14 +528,6 @@
539528
"type": "string"
540529
}
541530
},
542-
"enabledSkills": {
543-
"type": "array",
544-
"description": "List of regex patterns matching skill names to enable for this agent.",
545-
"markdownDescription": "List of regex patterns matching skill names to enable for this agent.",
546-
"items": {
547-
"type": "string"
548-
}
549-
},
550531
"autoCompactPercentage": {
551532
"type": "integer",
552533
"description": "Context window usage percentage at which auto-compact triggers for this agent.",

docs/config/introduction.md

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -152,7 +152,6 @@ By default ECA consider the following as the base configuration:
152152
"hooks": {},
153153
"rules" : [],
154154
"commands" : [],
155-
"enabledSkills": [".*"],
156155
"disabledTools": [],
157156
"toolCall": {
158157
"approval": {

docs/config/tools.md

Lines changed: 30 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -107,6 +107,36 @@ Placeholders in the format `{{argument_name}}` within the `command` string will
107107
}
108108
```
109109

110+
## Disabled tools
111+
112+
You can completely disable tools so they are never available to the LLM. This is configured via the `disabledTools` config, which accepts a list of tool name strings.
113+
114+
It can be set globally or per agent.
115+
116+
=== "Global"
117+
118+
```javascript title="~/.config/eca/config.json"
119+
{
120+
"disabledTools": ["eca__shell_command", "my-mcp__dangerous_tool"]
121+
}
122+
```
123+
124+
=== "Per agent"
125+
126+
```javascript title="~/.config/eca/config.json"
127+
{
128+
"agent": {
129+
"plan": {
130+
"disabledTools": ["eca__edit_file", "eca__write_file", "eca__move_file"]
131+
}
132+
}
133+
}
134+
```
135+
136+
!!! tip "Disabled vs Denied"
137+
138+
`disabledTools` removes the tool entirely from the LLM — it won't even know it exists. This is different from `toolCall.approval.deny` which lets the LLM see the tool but blocks execution.
139+
110140
## Approval / permissions
111141

112142
By default, ECA asks to call any non read-only tool (default [here](https://github.com/editor-code-assistant/eca/blob/5e598439e606727701a69393e55bbd205c9e16d8/src/eca/config.clj#L88-L96)), but that can easily be configured in several ways via the `toolCall.approval` config.

0 commit comments

Comments
 (0)