计划执行与检查节点
executing-plans
按既定实施计划完成工作,保持过程检查和反馈。
tools-handoffs-guardrails【效率与协作】Build function tools, local and hosted tool surfaces, agents-as-tools, handoffs, approvals, and guardrails in openai-agents-python.
独立 GitHub 快照 · 自动分类 · 以原作者文档为准
Use this sub-skill when a task mentions @function_tool, function schemas, hosted or local tools, ShellTool, ComputerTool, ApplyPatchTool, agents-as-tools, handoffs, human approval, input/output guardrails, or tool guardrails.
ComputerTool model migration is surprising.@function_tool schema behavior without model or API calls.Agent.as_tool(), handoff(...), ToolExecutionConfig, HITL approval pauses, and agent/tool guardrails.OpenAIProvider choices to ../models-providers/SKILL.md.RunState persistence details to ../core-runtime/SKILL.md.@function_tool for ordinary Python functions; use explicit FunctionTool only when you need a custom raw JSON invoker or manually built schema.strict_mode=True unless you have verified the target model/provider accepts the looser schema and you have a fallback for validation errors.Agent.as_tool() when a manager should keep conversation control; use handoff(...) when a specialist should become the active agent.result.interruptions, convert to RunState, approve/reject, then resume the original top-level run.This sub-skill distills the repository docs, source, examples, and tests for tools, handoffs, HITL approvals, guardrails, ToolExecutionConfig, deferred tool search, and local/hosted runtime tools. It intentionally bundles patterns instead of linking to original examples so future agents do not depend on a source checkout.