Table of Contents

Class SystemInfoTools

Namespace
JD.AI.Core.Tools
Assembly
JD.AI.Core.dll

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

string

GetSystemStatus()

[KernelFunction("get_system_status")]
[ToolSafetyTier(SafetyTier.AutoApprove)]
public string GetSystemStatus()

Returns

string

SetAgentId(string)

Sets the agent instance ID (called after spawn).

public void SetAgentId(string agentId)

Parameters

agentId string

SetDaemonVersion(string, string?)

Sets the daemon version info for identity reporting.

public void SetDaemonVersion(string currentVersion, string? latestVersion = null)

Parameters

currentVersion string
latestVersion string

SetModel(ProviderModelInfo)

Sets the active model info (called during registration).

public void SetModel(ProviderModelInfo model)

Parameters

model ProviderModelInfo

SetStartedAt(DateTimeOffset)

Sets the agent start time.

public void SetStartedAt(DateTimeOffset startedAt)

Parameters

startedAt DateTimeOffset