Questions this answersQuestions this answersfaq
- can the AI change something in our system by mistake?can the AI change something in our system by mistake?what actually executes a tool call?
- Not by itself. It can only ask. Your code is what runs, and your code can say no. If something gets changed that should not have been, that is your code agreeing to it, not the AI reaching in. This is good news, because it means the rule that stops it lives somewhere you control and can test.Not by itself. It can only ask. Your code is what runs, and your code can say no. If something gets changed that should not have been, that is your code agreeing to it, not the AI reaching in. This is good news, because it means the rule that stops it lives somewhere you control and can test.Your code does. A tool call is a structured request naming a tool and its arguments; nothing runs until your handler runs it. That makes the allowlist, the argument validation and the write gate ordinary code with ordinary tests. A rule written only in the system prompt is a preference the model can talk itself out of; the same rule as an if-statement cannot be argued with.
- why did our AI stop doing several things at once?why did our AI stop doing several things at once?why did parallel tool calls stop?
- Almost always because of how the answers were sent back. If the AI asks for three things and your code replies three separate times, it learns that asking for three at once did not work, and it goes back to asking one at a time. Run them together and reply once with all three results.Almost always because of how the answers were sent back. If the AI asks for three things and your code replies three separate times, it learns that asking for three at once did not work, and it goes back to asking one at a time. Run them together and reply once with all three results.Results returned across multiple user messages instead of one. The model reads that as the parallel request having failed and reverts to serial calls, turning one round trip into several. Execute concurrently, then return every result in a single user turn, including failures marked as errors. A dropped result is worse: the model re-asks for the same call.
Read the rest for freeSign in to read the restauth required past this point
A name and an email, once. The whole course is free, nothing is sold to you, and your place is kept so you can pick it up on your phone later.A name and an email, once. The course is free; the account exists so your progress and your level on the dial follow you between devices, and so you can be issued a certificate at the end.name + email. free. account carries completion state, data-level and certificate issuance.
Sign in or sign upSign in or sign upsign inWe store your name, your email, which lessons you open and which you finish, and the reading level you use. Distru can see that. Nothing is charged and nothing is sold on.Stored: name, email, which lessons you open and complete, and your level on the dial. Distru staff can see it. No payment, no third-party advertising trackers.stored: name, email, per-lesson view + completion, data-level. visible to Distru. no payment, no ad-tech, no third-party pixels.
Adapted from Microsoft's Generative AI for Beginners (Lesson 11: Integrating with function calling, Lesson 17: AI agents), MIT License. Rewritten for cannabis operations; not endorsed by Microsoft.