Skip to main content

Module resource_tool

Module resource_tool 

Source
Expand description

Resource tool — wraps InfraApi resource methods behind the AgentTool interface.

Provides agents with system resource monitoring capabilities. Actions: snapshot, history, overloaded.

§Example

{ "action": "snapshot" }
{ "action": "history", "last_n": 10 }
{ "action": "overloaded" }

Structs§

ResourceTool
Agent tool for resource monitoring.