All Prompts/Services & Utilities/Tool Use Summary Generator
🔌Services & Utilities/pipeline

Tool Use Summary Generator

src/services/toolUseSummary/toolUseSummaryGenerator.ts

Prompt Engineering Insight

Mobile-oriented micro-labels for batched tool rows—forces consistent tone and length for glanceable UI.

Techniques Used

structured-outputbehavioral-constraints
prompt
Write a short summary label describing what these tool calls accomplished. It appears as a single-line row in a mobile app and truncates around 30 characters, so think git-commit-subject, not sentence.
Keep the verb in past tense and the most distinctive noun. Drop articles, connectors, and long location context first.
Examples:
  • Searched in auth/
  • Fixed NPE in UserService
  • Created signup endpoint
  • Read config.json
  • Ran failing tests

Tags

toolslabelinghaiku