Configuration
Configuration schema
{
"hooksConfig": {
"enabled": true,
"disabled": [],
"notifications": true
},
"hooks": {
"BeforeTool": [
{
"matcher": "write_file|replace",
"sequential": true,
"hooks": [
{
"type": "command",
"command": "node $TABNINE_PROJECT_DIR/hooks/validate-write.js",
"name": "validate-write",
"description": "Validate file writes before execution",
"timeout": 5000
}
]
}
]
}
}hooksConfig fields
Field
Type
Default
Description
Hook definition fields
Field
Type
Required
Description
Hook configuration fields
Field
Type
Required
Description
Matchers
Tool naming conventions
Multiple hooks
Last updated
Was this helpful?
