diff --git a/internal/agent/tools/job_kill.go b/internal/agent/tools/job_kill.go index 90a44cb131da16a68a4c6cafcd0c6a3f7b2605a9..575496d96714d34147e97b5ca2aefaacd6c68df5 100644 --- a/internal/agent/tools/job_kill.go +++ b/internal/agent/tools/job_kill.go @@ -29,7 +29,7 @@ type JobKillResponseMetadata struct { func NewJobKillTool() fantasy.AgentTool { return fantasy.NewAgentTool( JobKillToolName, - FirstLineDescription(jobKillDescription), + string(jobKillDescription), func(ctx context.Context, params JobKillParams, call fantasy.ToolCall) (fantasy.ToolResponse, error) { if params.ShellID == "" { return fantasy.NewTextErrorResponse("missing shell_id"), nil diff --git a/internal/agent/tools/job_kill.md b/internal/agent/tools/job_kill.md index 96fbbff7f3eeee6265a4c7e401dc603edd47b96e..276a25aa9aa82c201feda5f97659f3580aa9f9ff 100644 --- a/internal/agent/tools/job_kill.md +++ b/internal/agent/tools/job_kill.md @@ -1,4 +1,4 @@ -Terminate a background shell process by ID; shell ID becomes invalid after killing. +Terminate a background shell process. - Provide the shell ID returned from a background bash execution