You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
**Supersede Writes** — Prunes write tool inputs for files that have subsequently been read. When a file is written and later read, the original write content becomes redundant since the current file state is captured in the read result. Runs automatically on every request with zero LLM cost.
31
31
32
-
**Prune Tool** — Exposes a `prune` tool that the AI can call to manually trigger pruning when it determines context cleanup is needed.
32
+
**Discard Tool** — Exposes a `discard` tool that the AI can call to remove completed or noisy tool outputs from context. Use this for task completion cleanup and removing irrelevant outputs.
33
+
34
+
**Extract Tool** — Exposes an `extract` tool that the AI can call to distill valuable context into concise summaries before removing the raw outputs. Use this when you need to preserve key findings while reducing context size.
33
35
34
36
**On Idle Analysis** — Uses a language model to semantically analyze conversation context during idle periods and identify tool outputs that are no longer relevant.
35
37
@@ -72,8 +74,24 @@ DCP uses its own config file:
72
74
"supersedeWrites": {
73
75
"enabled":true
74
76
},
75
-
// Exposes a prune tool to your LLM to call when it determines pruning is necessary
76
-
"pruneTool": {
77
+
// Exposes a discard tool to your LLM for removing unneeded tool outputs
78
+
"discardTool": {
79
+
"enabled":true,
80
+
// Additional tools to protect from pruning
81
+
"protectedTools": [],
82
+
// Protect from pruning for <turn protection> message turns
83
+
"turnProtection": {
84
+
"enabled":false,
85
+
"turns":4
86
+
},
87
+
// Nudge the LLM to use the discard tool (every <frequency> tool results)
88
+
"nudge": {
89
+
"enabled":true,
90
+
"frequency":10
91
+
}
92
+
},
93
+
// Exposes an extract tool to your LLM for distilling context before removal
94
+
"extractTool": {
77
95
"enabled":true,
78
96
// Additional tools to protect from pruning
79
97
"protectedTools": [],
@@ -82,7 +100,7 @@ DCP uses its own config file:
82
100
"enabled":false,
83
101
"turns":4
84
102
},
85
-
// Nudge the LLM to use the prune tool (every <frequency> tool results)
103
+
// Nudge the LLM to use the extract tool (every <frequency> tool results)
86
104
"nudge": {
87
105
"enabled":true,
88
106
"frequency":10
@@ -109,7 +127,7 @@ DCP uses its own config file:
109
127
### Protected Tools
110
128
111
129
By default, these tools are always protected from pruning across all strategies:
0 commit comments