AI & ML126 toolsPaste one API key
OpenAI integration for AI agents
Generate text, images, and embeddings via OpenAI API
Use it from your agent
One ClawLink account serves every agent you run. Pick the guide for yours, or connect OpenAI once and call the same tools from all of them.
Deeper comparison, failure modes and setup details: OpenAI for AI agents, in depth.
Setup
Connect openai through ClawLink's hosted setup.
- Auth: Paste one API key. The credential stays on the ClawLink server; your agent holds only a ClawLink key you can revoke.
- Where: the ClawLink dashboard, or ask your agent to connect it.
What your agent can do
OpenAI exposes 126 tools through ClawLink. The 30 most used are listed here; your agent sees all of them.
| Tool | What it does | Kind |
|---|---|---|
openai_add_upload_part | Tool to add a part (chunk of bytes) to an Upload object. Use when uploading large files in chunks, with each part up to 64 MB. | Write |
openai_cancel_batch | Tool to cancel an in-progress batch. Use when you need to stop a batch that is currently processing. | Write |
openai_cancel_eval_run | Tool to cancel an ongoing evaluation run. Use when you need to stop an evaluation run that is currently in progress. | Write |
openai_cancel_response | Tool to cancel a background model response by its ID. Use when you need to stop a response that was created with the 'background' parameter set to true. | Write |
openai_cancel_run | Tool to cancel a run that is currently in progress. Use when you need to stop an assistant run that is taking too long or is no longer needed. | Write |
openai_cancel_upload | Tool to cancel an upload. Use when you need to stop an upload that is in progress. No parts may be added after cancellation. | Write |
openai_compact_response | Tool to compact a conversation or response to reduce token usage. Use when you need to reduce the size of long conversations while preserving important context. | Read |
openai_create_audio_transcription | Tool to transcribe audio files to text via OpenAI Audio Transcriptions API. Use when you need to convert speech in audio files to written text, optionally with timestamps or speaker diarization. | Write |
openai_create_audio_translation | Tool to translate audio files to English text via OpenAI Audio Translations API. Use when you need to convert speech in audio files (any language) to English text. | Write |
openai_create_batch | Tool to create and execute a batch from an uploaded file of requests. Use after uploading a JSONL file with purpose 'batch' to process multiple API requests in a single batch operation. | Write |
openai_create_chat_completion | Tool to create a chat completion response from OpenAI models. Use for conversational AI, text generation, function calling, multimodal tasks with vision/audio, and structured JSON outputs. | Write |
openai_create_completion | Tool to generate text completions using OpenAI's legacy Completions API. Use for single-turn text generation with models like gpt-3.5-turbo-instruct. | Write |
openai_create_embeddings | Generate text embeddings via the OpenAI embeddings endpoint | Write |
openai_create_moderation | Classify text and/or image inputs for potentially harmful content via the OpenAI Moderation API | Write |
openai_create_speech | Generate text-to-speech audio using OpenAI's Audio API | Write |
openai_download_file | Download the contents of a specified file by its ID | Read |
openai_download_video | Download video content (MP4) or preview assets from OpenAI Videos API | Read |
openai_get_chat_completion | Retrieve a stored chat completion | Read |
openai_get_chat_completion_messages | Retrieve messages from a stored chat completion | Read |
openai_get_chatkit_thread | Retrieve a ChatKit thread by its ID | Read |
openai_get_conversation_item | Retrieve a single item from a conversation | Read |
openai_get_eval | Retrieve an evaluation by ID | Read |
openai_get_eval_run | Retrieve an evaluation run by ID to check status and results | Read |
openai_get_eval_run_output_item | Retrieve a specific output item from an evaluation run by its ID | Read |
openai_get_eval_run_output_items | Get a list of output items for an evaluation run | Read |
openai_get_eval_runs | Get a paginated list of runs for an evaluation | Read |
openai_get_input_token_counts | Calculate input token counts for OpenAI API requests | Read |
openai_get_message | Retrieve a specific message from a thread by its ID | Read |
openai_get_response | Retrieve a model response by ID | Read |
openai_get_run_step | Retrieve a specific run step from an Assistants API run to inspect detailed execution progress | Read |