# Openai Agent Tools

> Define reusable function tools for OpenAI Agents using the

- Skill: `majiayu000/openai-agent-tools` (Agent Skill, multi-file: 2 files)
- Install (CLI): `npx skillmds add majiayu000/openai-agent-tools`
- Raw SKILL.md: https://api.skillmd.com/api/skills/majiayu000/openai-agent-tools/raw
- Safety review: pending
- Works with: Claude Code, Claude.ai, OpenAI Codex
- Category: AI & ML
- Author: majiayu000 (https://skillmd.com/u/majiayu000)
- Updated: 2026-09-09
- Page: https://skillmd.com/skills/majiayu000/openai-agent-tools

---


# Skill: OpenAI Agent Tools

## Purpose
Define reusable function tools for OpenAI Agents using the
OpenAI Agents SDK `function_tool` interface.

These tools expose external capabilities (RAG, databases, selection-based answering)
to the agent without embedding reasoning logic.

## Responsibilities
- Define tools using @function_tool
- Enforce strict input/output contracts
- Provide deterministic, side-effect-aware behavior
- Support Retrieval-Augmented Generation (RAG)

## What This Skill Covers
- function_tool decorator usage
- Tool input schema design
- Tool output structure
- Tool naming conventions

## What This Skill Does NOT Cover
- Agent reasoning or planning
- Prompt engineering
- UI concerns

## Constraints
- Tools must not call LLMs
- Tools must not hallucinate
- Tools must return factual data only

## Used By
- openai_agent_runtime
- RAG Orchestrator Agent

