[KongchangAI]
Conceptreturn-shape hints

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)

Nov 17

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.

Unverified50%
Nov 17

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).

Unverified50%

All Facts (2)

Source Articles