Class SystemInfoTools
Self-identity and system information tools. Enables the agent to report what model/provider it is running on, its capabilities, and runtime metadata.
[ToolPlugin("system", RequiresInjection = true)]
public sealed class SystemInfoTools
- Inheritance
-
SystemInfoTools
- Inherited Members
Methods
GetIdentity()
[KernelFunction("get_identity")]
[ToolSafetyTier(SafetyTier.AutoApprove)]
public string GetIdentity()
Returns
GetSystemStatus()
[KernelFunction("get_system_status")]
[ToolSafetyTier(SafetyTier.AutoApprove)]
public string GetSystemStatus()
Returns
SetAgentId(string)
Sets the agent instance ID (called after spawn).
public void SetAgentId(string agentId)
Parameters
agentIdstring
SetDaemonVersion(string, string?)
Sets the daemon version info for identity reporting.
public void SetDaemonVersion(string currentVersion, string? latestVersion = null)
Parameters
SetModel(ProviderModelInfo)
Sets the active model info (called during registration).
public void SetModel(ProviderModelInfo model)
Parameters
modelProviderModelInfo
SetStartedAt(DateTimeOffset)
Sets the agent start time.
public void SetStartedAt(DateTimeOffset startedAt)
Parameters
startedAtDateTimeOffset