Mistral Patent for “Code implemented tool calls”(patentsgazette.uspto.gov)
232 points by theanonymousone 11 days ago | 192 comments
tl;dr: Mistral has filed a patent covering a method where an LLM generates a code block that wraps multiple tool calls, executed server-side in a sandbox. When the code hits a tool call requiring the client, execution pauses, the call is dispatched to the client, and the returned result is substituted back into the code before execution resumes. The final result is then returned to the LLM, effectively patenting code-based (rather than JSON-based) tool calling with client-side execution.
HN Discussion:
  • Software patents in general are bogus and harmful to the industry
  • This patent is trivial/obvious with obvious prior art like RPC calls
  • Mistral is filing defensively in the US for cross-licensing leverage, not real protection
  • Software patents primarily serve as moats for rich incumbents against smaller players
  • Clarification that this is a fully granted patent, not just an application