# ChatGptMessage.ToolCallId property

Gets or sets the Id of the tool call related to this message.

```csharp
public string? ToolCallId { get; set; }
```

## Remarks

This property is required if role is tool, and it should be the Id of the tool whose response is in the content.

## See Also

* class [ChatGptRoles](../ChatGptRoles.md)
* class [ChatGptMessage](../ChatGptMessage.md)
* namespace [ChatGptNet.Models](../../ChatGptNet.md)

<!-- DO NOT EDIT: generated by xmldocmd for ChatGptNet.dll -->
