Skip to content llms.txt

handler_types

What kinds of executors hooks support beyond shell commands. May include HTTP endpoints, LLM prompt evaluation, multi-turn agent handlers, or TypeScript extensions.

Type: object Content type: hooks

ProviderSupportedMechanism
ampcommand-only: hook 'action' field runs a shell command; no HTTP, LLM, or agent handler types documented
claude-codeFive types: command (shell), http (POST to URL), mcp_tool (MCP tool call), prompt (LLM evaluation), agent (subagent with tools, experimental); prompt/agent restricted to subset of events
codexhook_handler_types: Codex supports shell command and LLM prompt handler types; TypeScript extension type also documented
crushHooks are shell commands (command field in HookConfig). Each hook fires a subprocess with the tool context passed on stdin.
cursorTwo handler types documented: command (shell scripts communicating over stdio via JSON) and prompt (LLM-evaluated natural language conditions for policy enforcement without custom scripting).
pipi_extension_typescript_native: Pi hooks support TypeScript/native extension handler type beyond shell commands
clineCline hooks execute shell commands only; no HTTP, LLM prompt, or agent handler types documented
copilot-cliCopilot CLI hooks execute shell commands only; no HTTP, LLM prompt, or agent handler types documented
factory-droidFactory Droid hooks execute shell commands only (type: command); no other handler types documented
gemini-cliGemini CLI hooks execute shell commands only; no HTTP, LLM prompt, or agent handler types documented
kiroKiro hooks execute shell commands or predefined agent prompts; no HTTP, LLM-as-hook, or TypeScript extension handler types documented
opencodenot documented
roo-codenot documented
windsurfWindsurf hooks execute shell commands only; no HTTP, LLM prompt, or agent handler types documented
zednot documented