Back to News

Mistral AI Granted US Patent for Code-Implemented Tool Calls with Sandbox Pausing

233 points · 197 comments#patent#mistral-ai#tool-calls#llm

Mistral AI was granted US patent 12,670,045 for a method where an LLM generates a code block encapsulating tool calls, executed in a sandbox. The method pauses execution for pending tool calls, transmits them to a client for execution, and resumes with the client's result. The patent, filed March 4, 2026, lists Gabriel Vergnaud as inventor and includes 20 claims.

Coverage timeline

  1. Hacker Newstheanonymousone

    **US 12,670,045 B1** **Code implemented tool calls** **Gabriel Vergnaud, Paris (FR)** **Assigned to Mistral AI, Paris (FR)** **Filed by Mistral AI, Paris (FR)** **Filed on Mar. 4, 2026, as Appl. No. 19/557,103.** **Int. Cl.**_**G06F 9/54**_ (2006.01) **CPC**_**G06F 9/547**_ (2013.01)**20 Claims** **1**. A method, comprising: receiving, at a server, a user request for execution of one or more tool calls; generating, by a large language model (LLM), a code block in a programming language, the code block configured to encapsulate the one or more tool calls; executing, by the server, the code block in a sandbox; in response to obtaining a pending tool call, pausing execution of the code block; transmitting the pending tool call to a client for execution; receiving, from the client, a first result of the pending tool call; resuming execution of the code block and substituting the first result of the pending tool call for the pending tool call in the code block; and returning a second result