# New API feature: disable parallel function calling via \`parallel\_tool\_calls: false\`

**URL:** <https://community.openai.com/t/new-api-feature-disable-parallel-function-calling-via-parallel-tool-calls-false/805405>\
**Category:** API\
**Tags:** chat-completion, function-calling, assistants-api\
**Created:** [June 6, 2024, 7:32pm UTC](https://community.openai.com/t/new-api-feature-disable-parallel-function-calling-via-parallel-tool-calls-false/805405 "2024-06-06T19:32:14Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![brianz-oai](https://sea2.discourse-cdn.com/openai1/user_avatar/community.openai.com/brianz-oai/32/354481_2.png) [@brianz-oai](https://community.openai.com/u/brianz-oai)\
**Post date:** [June 6, 2024, 7:32pm UTC](https://community.openai.com/t/new-api-feature-disable-parallel-function-calling-via-parallel-tool-calls-false/805405/1 "2024-06-06T19:32:15Z")

</div>

In Chat Completions and Assistants API, when you use `tools` param for function calling, the models are allowed to perform multiple function calls together (aka [parallel function calling](https://platform.openai.com/docs/guides/function-calling/parallel-function-calling)) by default.

You can now disable this behavior by setting `parallel_tool_calls: false` in both Chat Completions and Assistants API, ensuring the model will call at most one function for each request. The `tool_calls` field on `Completions` and `Run` objects in the response is still array type, just never with more than one elements.

Brian

---

<div class="post-metadata">

**Author:** ![PaulBellow](https://sea2.discourse-cdn.com/openai1/user_avatar/community.openai.com/paulbellow/32/597962_2.png) [@PaulBellow](https://community.openai.com/u/PaulBellow)\
**Post date:** [June 6, 2024, 7:32pm UTC](https://community.openai.com/t/new-api-feature-disable-parallel-function-calling-via-parallel-tool-calls-false/805405/2 "2024-06-06T19:32:55Z")

</div>

Pinned on June 6, 2024, 7:32pm UTC



---

<div class="post-metadata">

**Author:** ![grandell1234](https://sea2.discourse-cdn.com/openai1/user_avatar/community.openai.com/grandell1234/32/286916_2.png) [@grandell1234](https://community.openai.com/u/grandell1234)\
**Post date:** [June 6, 2024, 7:48pm UTC](https://community.openai.com/t/new-api-feature-disable-parallel-function-calling-via-parallel-tool-calls-false/805405/3 "2024-06-06T19:48:55Z")

</div>

Closed on June 6, 2024, 7:48pm UTC


