---
title: "addToolResult"
sidebar_label: "addToolResult"
description: "Kotlin binding reference: addToolResult."
---

<!-- Generated by tools/api_reference/generate_api_docs.py. Do not edit. -->

//[clika-runtime](../../../index.md)/[io.clika.modelverse](../index.md)/[ChatSession](index.md)/[addToolResult](addToolResult.md)

# addToolResult

[common]\
fun [addToolResult](addToolResult.md)(callId: [String](https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-string/index.html), content: [String](https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-string/index.html), name: [String](https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-string/index.html) = &quot;&quot;)

Append a tool's result as a tool turn answering the call [callId](addToolResult.md) (a [ToolCall.id](../ToolCall/id.md) from [toolCalls](toolCalls.md)), with the tool's [name](addToolResult.md) when given; a [respond](respond.md) then continues the conversation.