CommandsService
city service stop
Advanced command to stop a service for a specific agent target
city service stop
Stop a service for a specific agent target.
Prefer concrete roots like city memory stop or city task stop for day-to-day use.
Usage
city service stop <serviceName> [--agent <name> | --path <path>] [--host <host>] [--port <port>]Example
city service stop task --agent my-agent
city memory stop --path /abs/path/to/agentRelated commands
Example Output (Based on Current Implementation)
The examples below are aligned with current command implementations in packages/downcity/src (including default output mode and field structure). Placeholder values are used for environment-specific fields.
$ city service stop task
{
"success": true,
"service": "task"
}$ city service stop task --agent missing-agent
{
"success": false,
"error": "Agent not found in console registry: missing-agent. Run \"city agent list\" to inspect names."
}