Answer: The AgentResult type contains text, usage, messages, toolCalls, iterations, finishReason, model, startedAt, endedAt, and durationMs. The finishReason values are "completed", "max_iterations", "aborted", "mistake_limit", and "error". Status: Confirmed Entry: tool/cline/agents-and-automation/agent-result-fields Revision: 1 Digest: sha256:2193a8890f0204c4 (changes whenever the content changes) Timeline: Created: 2026-11-15T12:32:14Z Last changed: 2026-11-15T12:32:14Z Last verified: 2026-11-20T12:31:13Z Next check: 2026-11-21T12:31:13Z Check interval: Daily Expected change: No fixed schedule Data: Field | Value | Source | As of finishReason values | "completed" | "max_iterations" | "aborted" | "mistake_limit" | "error" | [1] | 2026-11-20 text | string | [1] | 2026-11-20 usage | LegacyAgentUsage | [1] | 2026-11-20 messages | MessageWithMetadata[] | [1] | 2026-11-20 toolCalls | ToolCallRecord[] | [1] | 2026-11-20 iterations | number | [1] | 2026-11-20 model | { id: string; provider: string; info?: ModelInfo } | [1] | 2026-11-20 startedAt / endedAt / durationMs | Date | [1] | 2026-11-20 Sources: [1] Cline. "Types". https://docs.cline.bot/sdk/reference/types.md Role: primary. Accessed: 2026-11-20T12:31:13Z Quote: "finishReason: "completed" | "max_iterations" | "aborted" | "mistake_limit" | "error"" (Supports: finishReason values) Quote: "text: string" (Supports: text) Quote: "usage: LegacyAgentUsage" (Supports: usage) Quote: "messages: MessageWithMetadata[]" (Supports: messages) Quote: "toolCalls: ToolCallRecord[]" (Supports: toolCalls) Quote: "iterations: number" (Supports: iterations) Quote: "model: { id: string; provider: string; info?: ModelInfo }" (Supports: model) Quote: "startedAt: Date endedAt: Date durationMs: number" (Supports: startedAt / endedAt / durationMs) Published: 2026-11-20T06:00:50Z Snapshot SHA-256: 0bf2e74e5b22b061779d9749bb977119ce57f3678fe89723ced09a11c88d8041 (captured 2026-11-13T03:07:53Z) Verification: Method: Automated extraction from [1] with deepseek-flash (JSON output, thinking disabled). Every value was checked by code to appear verbatim in a quoted passage of [1]. On this check the text of [1] was unchanged since 2026-11-15T12:32:14Z, so the values verified then were kept. Cross-check: not-available at 2026-11-20T12:31:13Z. No independent second source is configured for this entry Last successful check: 2026-11-20T12:31:13Z Last attempt: 2026-11-20T12:31:13Z Notes and limitations: Extracted automatically from a single official source (section "Host-Facing Agent Types"). Related: https://latestn.com/tool/cline/agents-and-automation/agent-run-result-fields What fields does the Cline AgentRunResult type contain? https://latestn.com/tool/cline/agents-and-automation/agenttool-defaults What are the default timeout and retry settings for a Cline AgentTool? https://latestn.com/tool/cline/agents-and-automation/agenttoolcontext-fields What fields are available in the Cline AgentToolContext passed to a tool's execute function? https://latestn.com/tool/cline/agents-and-automation/agent-constructor-config How do I configure the Cline Agent constructor with a provider and model? https://latestn.com/tool/cline/agents-and-automation/agent-event-types Which agent events does Cline emit through AgentConfig.onEvent? https://latestn.com/tool/cline/agents-and-automation/agent-prerequisites What are the prerequisites for building an agent with the Cline SDK? https://latestn.com/tool/ All entries in AI tools Change log: Time | Event | Change | Source 2026-11-15T12:32:14Z | added | Entry created | — Changes for this entry as a feed: https://latestn.com/tool/cline/agents-and-automation/agent-result-fields/latest Challenge this entry: Open challenges: None How: If a value here is wrong or out of date, send what is wrong and a link to evidence. Challenges are queued and checked against the evidence; they do not change the entry by themselves. If the entry changes as a result, the change log says so. Form: https://latestn.com/dispute/tool/cline/agents-and-automation/agent-result-fields POST: https://latestn.com/dispute/tool/cline/agents-and-automation/agent-result-fields with claim, evidence_url, and optionally field and contact (form-encoded or JSON) GET: https://latestn.com/dispute/tool/cline/agents-and-automation/agent-result-fields?claim={what is wrong}&evidence_url={link} How to cite: LatestN. (2026). What fields does the Cline AgentResult type contain, including finishReason values? Revision 1, last verified 2026-11-20T12:31:13Z. https://latestn.com/tool/cline/agents-and-automation/agent-result-fields (accessed 2026-11-21T10:04:18Z). @misc{LatestN_tool_cline_agents_and_automation_agent_result_fields_r1, title = {What fields does the Cline AgentResult type contain, including finishReason values?}, author = {{LatestN}}, year = {2026}, howpublished = {\url{https://latestn.com/tool/cline/agents-and-automation/agent-result-fields}}, note = {Revision 1; digest sha256:2193a8890f0204c4; last verified 2026-11-20T12:31:13Z; accessed 2026-11-21T10:04:18Z} } Reuse: License: CC BY 4.0 (https://creativecommons.org/licenses/by/4.0/) Attribution: Copying and adapting are allowed, including commercially, if you credit LatestN and link to the entry you used. Each entry ends with a ready-made citation. URL: https://latestn.com/tool/cline/agents-and-automation/agent-result-fields