on main help sign in
fix(tools/job_kill): use longer job_kill desc to improve reliability (#2747)
commit86bb80559238480bb88739361400f32c866037bb authorChristian Rocha <christian@rocha.is> dateTue 28 Apr 2026, 21:16 (6 months ago) parent4d16e96
2 files changed+2−2
internal/agent/tools/job_kill.go+1−1 internal/agent/tools/job_kill.md+1−1
internal/agent/tools/job_kill.go+1−1
@@ -29,7 +29,7 @@ type JobKillResponseMetadata struct {
2929func NewJobKillTool() fantasy.AgentTool {
3030 return fantasy.NewAgentTool(
3131 JobKillToolName,
32− FirstLineDescription(jobKillDescription),
32+ string(jobKillDescription),
3333 func(ctx context.Context, params JobKillParams, call fantasy.ToolCall) (fantasy.ToolResponse, error) {
3434 if params.ShellID == "" {
3535 return fantasy.NewTextErrorResponse("missing shell_id"), nil
internal/agent/tools/job_kill.md+1−1
@@ -1,4 +1,4 @@
1−Terminate a background shell process by ID; shell ID becomes invalid after killing.
1+Terminate a background shell process.
22
33<usage>
44- Provide the shell ID returned from a background bash execution