OptionalallowedOptionalbuiltOptionalcustomOptionaldeterministicFetch the current-branch PR diff with gh pr diff before invoking the discovery agent.
The discovery agent can still replace it with the set_diff tool if needed.
OptionalenabledEnable change requirements discovery when neither PR id nor requirements id is provided.
OptionalfilesystemOptional tool overrides used only while the discovery agent runs. When omitted, the normal configured tools remain available.
Optionaltools
Restrict the discovery agent to this allow-list of tool names, applied after every tool source (filesystem, built-in, custom, MCP, A2A, and
tools) is resolved. UnlikebuiltInTools/customTools/filesystem(which gate whole tool groups), this trims the final tool set by exact name, so it can pare down MCP server tools (e.g. "mcp__jira__getJiraIssue") and the discovery helper tools ("gh_pr"/"gh_diff"/"gh_issue"/"set_diff") to the minimum needed.set_requirementsis always retained regardless, since it is how the discovery agent records the requirements it found. When omitted, all resolved tools remain available; an empty array keeps onlyset_requirements. The discovery agent never inherits the top-level GthConfig.allowedTools; this property is its only allow-list.