Add Git secret
add_git_secretStore a Git personal access token (PAT) as a named secret so it can be used for private repository deployments. Pass the returned name as pat_secret_name in deploy_site or inspect_repository. The token value is never returned after this call.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"name": "<name>",
"registry_type": "<registry_type>",
"token": "<token>",
"organization_id": "<organization_id>"
},
"name": "add_git_secret"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes | A short label for this secret, e.g. 'my-github-pat'. Used as pat_secret_name in deploy_site. | |
| token | Yes | The personal access token (PAT) value. Stored securely — never logged or returned. | |
| registry_type | Yes | Git provider this token belongs to | |
| organization_id | Yes | Organization to store the secret under (from list_organizations) |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |