Return Shape Hint
Explicitly declaring, in the tool stubs of Code Mode, the structural information of the data returned by a tool, helping the agent write more accurate code and reducing trial-and-error cost.
Timeline (last 90 days)
Declaring return-shape hints in code-mode stubs can cause success rates to fluctuate by up to 39.5 percentage points for weaker agents, an effect larger than adding a router.
Return-shape hints refer to explicitly declaring, in code-mode tool stubs, the structure of the data returned after a successful tool call (such as field names, types, nesting relationships, or array element structure).
All Facts (2)
Declaring return-shape hints in code-mode stubs can cause success rates to fluctuate by up to 39.5 percentage points for weaker agents, an effect larger than adding a router.
50%UnverifiedReturn-shape hints refer to explicitly declaring, in code-mode tool stubs, the structure of the data returned after a successful tool call (such as field names, types, nesting relationships, or array element structure).
50%