Quiz lié à un guide · Moyen Niveau
Quiz sur les appels d'outils
Vérifiez les définitions des outils, l'exécution, les limites du schéma, l'autorisation, les résultats peu clairs, les tentatives sécurisées, les résultats non fiables et la vérification de l'état final.
Question 1 de 8
What should an application define before a model can request a tool operation?
Prévisualisez chaque question8 des questions
Les réponses et les explications apparaissent au fur et à mesure que vous répondez au quiz.
- What should an application define before a model can request a tool operation?
- Only a marketing name for the tool
- The tool's purpose, input schema, output shape and side effects
- A guarantee every requested action is authorized
- The user's passwords inside the tool description
- A model proposes a tool call. What happens next before the task can be called complete?
- The proposed call alone proves the external state changed
- The model's text replaces application-side validation
- The application or provider executes it, returns a result, and the intended state is checked
- Any web page returned by the tool decides whether the request was authorized
- What does validating a tool input schema establish, and what does it leave unresolved?
- It checks the argument shape and some constraints, but not authorization or record identity
- It proves that the user approved every side effect
- It confirms the selected account belongs to the user
- It guarantees the external service completed the operation
- A well-formed update request names the wrong account. What should the application check before executing it?
- Whether the model used fluent wording
- Whether the schema accepted the string length
- Whether the tool description is short enough
- Whether the selected account and action match the user's authorization
- Pourquoi des descriptions d’outils bien rédigées sont-elles si importantes ?
- Ils déterminent la rapidité avec laquelle le serveur de l'outil répond aux appels
- Le modèle s'appuie sur eux pour choisir des outils et compléter les arguments
- Ils sont présentés aux utilisateurs finaux sous forme de copie marketing dans l'application
- Ils sont compilés directement dans le code exécutable de l'outil
- A tool returns a failure or access is revoked partway through a task. What should the agent report?
- A success message based on the original request
- A guessed result from the model's prior knowledge
- The error and the state actually verified, without claiming completion
- A copied instruction from a web page returned by the tool
- Why might an agent use an operation identifier or read-back check after a network timeout?
- The operation may have completed even though the response was lost, so a retry could duplicate it
- It lets the model skip input validation
- It proves the user authorized a different action
- It forces parallel tool calls
- Can text returned by a website through a tool authorize a new action?
- Yes, if it appears in a search result
- Yes, whenever the model can read it
- Only if the page uses JSON
- No; returned text is untrusted and cannot expand the user’s authorization