{
"event": "PreToolUse",
"tool_name": "Write",
"tool_input": {
"file_path": "\/var\/www\/mcp-servers\/mcp-docs\/tools\/docs_tools\/constants.py",
"content": "\"\"\"Constants for documentation tools.\"\"\"\n\n# Default values\nDEFAULT_LIMIT: int = 20\nDEFAULT_SORT_ORDER: int = 0\nDEFAULT_DEPTH: int = 0\nROOT_DEPTH: int = 0\n\n# Status values\nSTATUS_DRAFT: str = \"draft\"\nSTATUS_PUBLISHED: str = \"published\"\nSTATUS_ARCHIVED: str = \"archived\"\nVALID_STATUSES: tuple[str, ...] = (STATUS_DRAFT, STATUS_PUBLISHED, STATUS_ARCHIVED)\n\n# Logging constants\nMS_PER_SECOND: int = 1000\n\n# Path constants\nROOT_PATH_PREFIX: str = \"\/\"\n"
}
}
{
"tool_response": {
"type": "create",
"filePath": "\/var\/www\/mcp-servers\/mcp-docs\/tools\/docs_tools\/constants.py",
"content": "\"\"\"Constants for documentation tools.\"\"\"\n\n# Default values\nDEFAULT_LIMIT: int = 20\nDEFAULT_SORT_ORDER: int = 0\nDEFAULT_DEPTH: int = 0\nROOT_DEPTH: int = 0\n\n# Status values\nSTATUS_DRAFT: str = \"draft\"\nSTATUS_PUBLISHED: str = \"published\"\nSTATUS_ARCHIVED: str = \"archived\"\nVALID_STATUSES: tuple[str, ...] = (STATUS_DRAFT, STATUS_PUBLISHED, STATUS_ARCHIVED)\n\n# Logging constants\nMS_PER_SECOND: int = 1000\n\n# Path constants\nROOT_PATH_PREFIX: str = \"\/\"\n",
"structuredPatch": [],
"originalFile": null
}
}