refactor: unify tool reason requirements
This commit is contained in:
@@ -1,3 +1,4 @@
|
||||
import { learningToolReason } from "../tool-reason.js";
|
||||
import { tool } from "../tool.js";
|
||||
import { getInternalBridgeConfig } from "../internalBridge.js";
|
||||
|
||||
@@ -18,11 +19,7 @@ export default tool({
|
||||
"remove_script",
|
||||
])
|
||||
.describe("Skill maintenance operation."),
|
||||
reason: tool.schema
|
||||
.string()
|
||||
.describe(
|
||||
"Why this skill maintenance action is justified for future reuse.",
|
||||
),
|
||||
reason: learningToolReason,
|
||||
skill_path: tool.schema
|
||||
.string()
|
||||
.describe(
|
||||
|
||||
Reference in New Issue
Block a user