[tool_schemas.py] 1185-line file exceeds AGENTS.md ~400 line limit #666
Labels
No labels
area:chat
area:core
area:llm
area:routes
area:tools
bug
documentation
duplicate
enhancement
good first issue
help wanted
invalid
question
refactor
wontfix
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
sleepy/odysseus#666
Loading…
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
File:
src/tool_schemas.py(1185 lines)AGENTS.md rule: "Split files that exceed ~400 lines or contain multiple concerns."
This file is ~3x over the limit. It contains:
FUNCTION_TOOL_SCHEMAS) — the bulk of the file, ~800+ lines of JSON schema definitionsfunction_call_to_tool_block)Problem
Suggested fix
src/tools/schemas/as per-domain JSON files or a single structured data filesrc/tools/_schemas_core.py(bash/python/web/file tools) andsrc/tools/_schemas_extended.py(email/calendar/management tools)