You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Allows you to specify a list of [built-in tools] that should be made available to the model. You can also use this to allowlist commands for shell tool.
51
+
52
+
**Default:** All tools available for use by Gemini CLI.
53
+
54
+
**How to configure:**
55
+
56
+
Add the following to your workflow YAML file to specify core tools:
57
+
58
+
```yaml
59
+
with:
60
+
settings: |-
61
+
{
62
+
"coreTools": [
63
+
"read_file"
64
+
"run_shell_command(echo)",
65
+
"run_shell_command(gh label list)"
66
+
]
67
+
}
68
+
```
69
+
70
+
#### MCP Servers (`mcpServers`)
71
+
72
+
Configures connections to one or more Model Context Protocol (MCP) servers for discovering and using custom tools. This allows you to extend Gemini CLI GitHub Action with additional capabilities.
73
+
74
+
**Default:** Empty
75
+
76
+
**Example:**
77
+
78
+
```yaml
79
+
with:
80
+
settings: |-
81
+
{
82
+
"mcpServers": {
83
+
"github": {
84
+
"command": "docker",
85
+
"args": [
86
+
"run",
87
+
"-i",
88
+
"--rm",
89
+
"-e",
90
+
"GITHUB_PERSONAL_ACCESS_TOKEN",
91
+
"ghcr.io/github/github-mcp-server"
92
+
],
93
+
"env": {
94
+
"GITHUB_PERSONAL_ACCESS_TOKEN": "${GITHUB_TOKEN}"
95
+
}
96
+
}
97
+
}
98
+
}
99
+
```
100
+
46
101
### Custom Context and Guidance (`GEMINI.md`)
47
102
48
103
To provide Gemini CLI with custom instructions—such as coding conventions, architectural patterns, or other guidance—add a `GEMINI.md` file to the root of your repository. Gemini CLI will use the content of this file to inform its responses.
@@ -60,3 +115,5 @@ Only users with the following roles can trigger the workflow:
0 commit comments