Loading
A prompt mirrored from kekmodel/codex-system-prompts.
Recommended by author
This prompt takes no variables — just pick a model and run.
---
name: 'Tool: close_agent'
category: tool
codex_version: rust-v0.128.0-alpha.1
codex_commit: 8148b7b1f8660e464661743587f754471ae60868
source:
path: codex-rs/tools/src/agent_tool.rs
kind: rust_toolspec_inline
reached_from:
- tools/src/agent_tool.rs:269
tool_name: close_agent
extraction:
pass: 1.7
method: rust_toolspec_inline
variables: []
tokens:
o200k_base: 129
description: '`close_agent` ToolSpec.'
---
```json
{
"type": "function",
"name": "close_agent",
"description": "Close an agent and any open descendants when they are no longer needed, and return the target agent's previous status before shutdown was requested. Don't keep agents open for too long if they are not needed anymore.",
"parameters": {
"type": "object",
"properties": {
"target": {
"type": "string",
"description": "Agent id or canonical task name to close (from spawn_agent)."
}
},
"additionalProperties": false
}
}
```Running prompts needs a free account.
Sign in and we'll stream the response from Claude Sonnet 4.6 right here — no config needed for the platform models.
A prompt mirrored from kekmodel/codex-system-prompts.
---
name: 'Tool: close_agent'
category: tool
codex_version: rust-v0.128.0-alpha.1
codex_commit: 8148b7b1f8660e464661743587f754471ae60868
source:
path: codex-rs/tools/src/agent_tool.rs
kind: rust_toolspec_inline
reached_from:
- tools/src/agent_tool.rs:269
tool_name: close_agent
extraction:
pass: 1.7
method: rust_toolspec_inline
variables: []
tokens:
o200k_base: 129
description: '`close_agent` ToolSpec.'
---
```json
{
"type": "function",
"name": "close_agent",
"description": "Close an agent and any open descendants when they are no longer needed, and return the target agent's previous status before shutdown was requested. Don't keep agents open for too long if they are not needed anymore.",
"parameters": {
"type": "object",
"properties": {
"target": {
"type": "string",
"description": "Agent id or canonical task name to close (from spawn_agent)."
}
},
"additionalProperties": false
}
}
```