type: Literal["apply_patch"]

The type of the tool. Always apply_patch.

allowed_callers: Optional[List[Literal["direct", "programmatic"]]]

The tool invocation context(s).

One of the following:
"direct"
"programmatic"