---
title: "StopServerToolsWhenHasToolCall"
---

Stop after a tool with this name has been called.


## Fields

| Field                                                                                                | Type                                                                                                 | Required                                                                                             | Description                                                                                          |
| ---------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------- |
| `tool_name`                                                                                          | *str*                                                                                                | :heavy_check_mark:                                                                                   | N/A                                                                                                  |
| `type`                                                                                               | [components.StopServerToolsWhenHasToolCallType](../components/stopservertoolswhenhastoolcalltype.mdx) | :heavy_check_mark:                                                                                   | N/A                                                                                                  |