Expand description
issue agent tool — agent-driven local issue management.
Implements oxi_agent::AgentTool against the FileIssueStore. One
tool with an action discriminator (matches the pattern used by the
github tool, see oxi-agent/src/tools/github.rs).
Actions: list, read, create, update, start, release, close,
link_session. See AgentTool::parameters_schema for the exact JSON
schema each action accepts.
Design notes:
- The tool holds an
Arc<FileIssueStore>so it can be cheaply cloned when the tool is registered in the liveToolRegistry(mirrors howMcpTool/WasmToolhold their managers). - The “current session id” used for assignment / session-linking is taken
from
ToolContext.session_id. The agent loop fills this in from the active session.
Structs§
- Issue
Tool - The
issuetool. One registration, multiple actions.
Functions§
- format_
issue_ full - Render a full issue view (summary line + meta + body). Used by both the agent tool and the CLI.
- format_
issue_ line - Render an issue as a single summary line (id, status, priority, lock, title, labels, assignee). Used by both the agent tool and the CLI.