Get a service's auto-deploy configuration
komuta_get_service_auto_deployGet the current auto-deploy (deploy-on-push) configuration for one service — the same data the web console's Auto Deploy page shows: enabled/disabled, include path patterns, exclude path patterns, cooldown seconds, and commit-message skip directives. Also reports whether the service's GitHub App connection (which auto-deploy requires) is configured and active. Resolve the id from the NAME the user gave (via komuta_list_services) — never ask the user for an id. Returns: { serviceName, gitHubAppConnected: boolean, gitHubAppInstallationActive: boolean, configured: boolean, settings: { isEnabled, includePathPatterns: string[], excludePathPatterns: string[], cooldownSeconds, skipDeployPatterns: string[], lastTriggeredAt, triggerScope: { kind: 'includePatterns' | 'buildContext' | 'everyPath', patterns: string[], buildContext?, excludePatterns: string[] } } | null, recentDecisions: [{ at, decision, commit }] (newest first, at most 10; decision is Triggered or a Skipped*/TriggerFailed reason), recentDecisionsUnavailable? } — settings is null when configured is false (auto-deploy was never enabled). Show user: service name and every settings field in plain language (enabled/disabled, include patterns, exclude patterns, cooldown in seconds, skip directives, last trigger time). Always say which pushes deploy, from triggerScope: kind buildContext means ONLY pushes that change files under that build context folder deploy (other pushes are skipped with SkippedNoPathMatch) — state this plainly, it is the usual reason a push 'did nothing'; includePatterns means only matching files; everyPath means any changed path. In every kind, files matching excludePatterns never count, and only pushes to the service's configured branch deploy (others are SkippedBranchMismatch). When the user asks why a push did not deploy, answer from recentDecisions (each Skipped* reason in plain words). If configured is false, say auto-deploy has never been set up for this service; if gitHubAppConnected is false or gitHubAppInstallationActive is false, say the feature is unavailable until the GitHub App connection is (re)established.
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": {
"serviceId": "<serviceId>"
},
"name": "komuta_get_service_auto_deploy"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| serviceId | Yes | Internal service id, resolved from the service NAME the user gave or from local context. Never ask the user for it. | |
| organization | No | Name of the organization to act in. Omit to use the one the connection is already signed in to. Use komuta_list_organizations to see the names; pass the name text exactly as listed (the data of a { untrusted, data } name), never an id. |