Class AgentRunToolCallResponse
A single LLM tool call made during a prompt_call step.
Inherited Members
Namespace: Seclai.Models
Assembly: Seclai.dll
Syntax
public sealed class AgentRunToolCallResponse
Properties
CreditsUsed
Credits consumed by this tool call (0 for tools that don't bill).
Declaration
[JsonPropertyName("credits_used")]
public float CreditsUsed { get; set; }
Property Value
| Type | Description |
|---|---|
| float |
DurationSeconds
Duration of the tool call in seconds.
Declaration
[JsonPropertyName("duration_seconds")]
public float? DurationSeconds { get; set; }
Property Value
| Type | Description |
|---|---|
| float? |
EndedAt
Timestamp when the tool call ended.
Declaration
[JsonPropertyName("ended_at")]
public string? EndedAt { get; set; }
Property Value
| Type | Description |
|---|---|
| string |
Error
Error message when the tool call failed.
Declaration
[JsonPropertyName("error")]
public string? Error { get; set; }
Property Value
| Type | Description |
|---|---|
| string |
FunctionName
Name of the tool/function invoked.
Declaration
[JsonPropertyName("function_name")]
public string? FunctionName { get; set; }
Property Value
| Type | Description |
|---|---|
| string |
Id
Tool call identifier.
Declaration
[JsonPropertyName("id")]
public string? Id { get; set; }
Property Value
| Type | Description |
|---|---|
| string |
Input
JSON arguments the LLM passed to the tool, if persisted.
Declaration
[JsonPropertyName("input")]
public string? Input { get; set; }
Property Value
| Type | Description |
|---|---|
| string |
Output
JSON result the tool returned to the LLM, if persisted.
Declaration
[JsonPropertyName("output")]
public string? Output { get; set; }
Property Value
| Type | Description |
|---|---|
| string |
RoundIndex
0-based tool-loop round this call belonged to.
Declaration
[JsonPropertyName("round_index")]
public int RoundIndex { get; set; }
Property Value
| Type | Description |
|---|---|
| int |
Sequence
0-based ordinal of this call within its step run.
Declaration
[JsonPropertyName("sequence")]
public int Sequence { get; set; }
Property Value
| Type | Description |
|---|---|
| int |
StartedAt
Timestamp when the tool call started.
Declaration
[JsonPropertyName("started_at")]
public string? StartedAt { get; set; }
Property Value
| Type | Description |
|---|---|
| string |
Succeeded
Whether the tool call completed without error.
Declaration
[JsonPropertyName("succeeded")]
public bool Succeeded { get; set; }
Property Value
| Type | Description |
|---|---|
| bool |