2026-04-09 15:52:02 +00:00
|
|
|
package utils
|
|
|
|
|
|
2026-04-20 10:30:29 +00:00
|
|
|
import "fmt"
|
2026-04-09 15:52:02 +00:00
|
|
|
|
2026-04-20 10:30:29 +00:00
|
|
|
// FormatToolFeedbackMessage renders the tool name and arguments preview in the
|
|
|
|
|
// same markdown shape used by live tool feedback and session reconstruction.
|
|
|
|
|
func FormatToolFeedbackMessage(toolName, argsPreview string) string {
|
|
|
|
|
return fmt.Sprintf("\U0001f527 `%s`\n```\n%s\n```", toolName, argsPreview)
|
2026-04-09 16:02:20 +00:00
|
|
|
}
|