Should a business tool caller use prompts or fine-tuning?

Choose prompts or fine-tuning around tool-calling failures. Use a delivery-request example to test arguments, missing details and permission boundaries.

ReAct agent loop with reasoning, tool actions and observations
Google’s ReAct reference diagram separates reasoning, tool actions and observations in an agent loop. Resized and letterboxed for web; image contents are unchanged. The thumbnail shows a selected detail. Google Cloud Architecture Center, ReAct design pattern · CC BY 4.0

Should a business tool caller use prompts or fine-tuning?

Prompts and fine-tuning are different ways to guide a model, and both need evaluation against the actual task. Begin with clear tool definitions, representative examples and a measured baseline before changing model training. Fine-tuning may improve a stable pattern, while permissions, validation and missing business facts still require separate controls.

Keep these in mind

  • Classify the failure before choosing a model-training intervention.
  • Keep test cases separate from examples used to improve the model.
  • Tool arguments and business authority require checks outside generated text.
Define expected call → Classify failure → Test targeted change → Evaluate unseen requests
Choose prompting or fine-tuning after locating the recurring failure in the tool-calling task.

First identify which part of the call is wrong

A delivery assistant may select the right tool and still supply the wrong order number. Another request may need a question before any tool is appropriate. These are different failures.

Write the expected behavior for each example. Include the correct operation, its arguments and whether the system should wait for clarification. That gives prompt changes and trained models the same target.

Tool training is research, not the end of instructions

The 2023 Toolformer paper studied learning when and how to use several APIs. Its experiments support investigating tool-use training. They do not establish that prompts are obsolete for every application.

A trained model still operates with tool descriptions, available context and an application interface. Changes to those pieces can alter its behavior. An extraction pattern learned last month may no longer match a revised business process.

OpenAI’s model-optimization guidance recommends a cycle involving evaluations, prompting and appropriate fine-tuning. The useful buying question concerns measured improvement on representative work, rather than loyalty to one technique.

Build a delivery-request failure map

Consider an illustrative instruction: move the North Stores delivery to Friday. The tool requires an order identifier and a calendar date. Two North Stores orders are open, so an immediate update would be premature.

A training example can teach the model to ask about that ambiguity. The application should also reject an update lacking the required identity. These protections address different parts of the same workflow.

Illustrative tool-calling diagnosis
Observed failureFirst intervention to testEvidence of improvement
Wrong tool chosenClarify tool names and examplesCorrect operation on unseen requests
Required order missingAsk a targeted questionNo update before identity is resolved
Date formatting inconsistentValidate a defined date formatAccepted explicit calendar date
Stable extraction mistakes persistEvaluate a focused fine-tuning trialBetter results on a held-out set

Separate stable patterns from changing information

Fine-tuning can be considered for repeated response patterns or a specialized task. A customer’s latest delivery address is changing business information. Keep it in a maintained record rather than treating model training as a database update.

The same applies to approval rules. A model can propose a tool call, while the application checks whether the current user may perform it. That check should use the current permission arrangement.

A prompt that states a rule can help the model behave appropriately. The downstream operation still needs to enforce its own valid inputs and authorized scope.

Use a test set that resists memorization

Keep some permissioned requests aside before improving the prompt or training data. Include new customer names, unfamiliar wording and requests that deliberately lack a necessary field. Evaluate those examples without further adjustment.

Group failures by cause. A spelling correction may fix a name problem, while a missing approval requires a different response. Reporting one average score can hide the consequential category.

Also inspect unnecessary calls. Calling a tool unnecessarily can add cost or collect information that the task does not require.

Choose the smallest improvement supported by evidence

Compare the baseline with clearer descriptions and examples first. If a stable, important failure remains, assess whether suitable training data and maintenance capacity exist for a focused model change.

Measure the complete accepted outcome and its review effort. Keep an earlier version available during the trial so a regression can be investigated without disrupting every user.

  1. Write expected calls, arguments and clarification cases.
  2. Evaluate a baseline on representative requests.
  3. Test one change and inspect consequential error categories.
  4. Retest unseen wording and newly introduced tool versions.

Common questions

Can fine-tuning replace tool-input validation?

Keep validation at the operation boundary. A trained model can still produce an outdated identifier, disallowed value or unauthorized request. Check arguments and permissions against the current system before applying a change, regardless of how the call was generated.

What belongs in a held-out evaluation set?

Use examples that were not used to write prompts or train the model. Include ordinary requests, unfamiliar wording, ambiguity and forbidden actions. Keep their expected outcomes fixed during comparison so repeated adjustments do not quietly turn testing into training.

Sources & further reading

Primary references for the facts and frameworks discussed. Original worked examples are illustrative and separate from research results.

  1. Toolformer: Language Models Can Teach Themselves to Use Tools ↗

    Dated 2023 research on learned API use; no universal small-model superiority is inferred.

  2. OpenAI API: Model optimization ↗

    Supports evaluation-led iteration across prompts and fine-tuning.

Published by the team building Daltn. Comparisons are first-party analysis, not independent reviews. Our editorial approach.

Your contact details

We use your email and role to respond to early-access requests. For an Enterprise demo, we use your name, work email, company and any workflow details you share to follow up about the demo.

You can ask us to update or delete your details by emailing ceo@dotsuper.net.