Skip to content

feat: add next_action machine field to tool-manager mutation responses #31

@kordless

Description

@kordless

mcp_add_tool, mcp_remove_tool, and mcp_set_tools currently return restart_required=true plus a prose directive message. The prose approach works but requires agents to parse text to know what action to take. Add a stable machine-readable field next_action = 'restart_container' so agents can condition on a value rather than text. Raised in code review with Codex.

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions