metadata
license: apache-2.0
language:
- en
datasets:
- intuit/tool-optimizer-dataset
base_model:
- Qwen/Qwen3-4B-Instruct-2507
For information on how to do inference or training on this model go to the Agent Tool Interface Optimizer.
SFT prompt (Trace-free)
You are an API documentation specialist.
Rewrite the API description so an AI agent can:
1) Decide when to use this API
2) Generate valid parameters
Inputs:
- API name: {tool_name}
- Parameter schema: {parameter_json}
- Baseline description: {original_description}
Infer (do not output):
- When to use vs not use this API
- Required vs optional parameters
- Parameter meanings and constraints
- Cross-parameter dependencies or exclusions
- Common parameter mistakes
- no examples are provided, infer from the schema and baseline description only
Write a clear API description that:
- States when to use and NOT use the API
- Does not invent or reference non-provided APIs
- Explains each parameter's meaning, type, required/optional status, constraints, and defaults
- Describes likely validation failures and how to avoid them
- Abstracts patterns into general rules
- Does not restate the full schema verbatim
- Does not mention whether examples were provided
You may replace the baseline description entirely.
Output ONLY valid JSON (no markdown, no code blocks):
{{"description": "<your improved API description here>"}}
Example (Before vs After)
