CurrentAgentTools returns the tools available to the current agent. This starts the toolsets if needed and returns all available tools.
(ctx context.Context)
| 737 | // CurrentAgentTools returns the tools available to the current agent. |
| 738 | // This starts the toolsets if needed and returns all available tools. |
| 739 | func (r *LocalRuntime) CurrentAgentTools(ctx context.Context) ([]tools.Tool, error) { |
| 740 | a := r.CurrentAgent() |
| 741 | return a.Tools(ctx) |
| 742 | } |
| 743 | |
| 744 | // ToolsetState is the coarse lifecycle bucket the agent inspector renders as a |
| 745 | // status glyph. It collapses the full lifecycle.State machine into the three |
nothing calls this directly
no test coverage detected