feat: focus Work tools by task intent
This commit is contained in:
@@ -92,7 +92,7 @@ TOOL_METADATA: dict[str, ToolMetadata] = {
|
||||
),
|
||||
"write_file": ToolMetadata(
|
||||
"write_file",
|
||||
"Write the complete UTF-8 contents of a workspace file.",
|
||||
"Write complete UTF-8 file contents. Use actual line breaks between source lines, not literal \\\\n text.",
|
||||
object_schema(
|
||||
{
|
||||
"path": {"type": "string", "maxLength": 4096},
|
||||
@@ -115,7 +115,8 @@ TOOL_METADATA: dict[str, ToolMetadata] = {
|
||||
),
|
||||
"exec": ToolMetadata(
|
||||
"exec",
|
||||
"Run a shell command in the isolated workspace.",
|
||||
"Run a complete non-interactive shell command. Name the script, pass -c code, or invoke a test; "
|
||||
"bare python, node, or shells are rejected.",
|
||||
object_schema(
|
||||
{
|
||||
"command": {"type": "string"},
|
||||
|
||||
Reference in New Issue
Block a user