ClawLink
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.

ToolWhat it doesKind
openai_add_upload_partTool 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_batchTool to cancel an in-progress batch. Use when you need to stop a batch that is currently processing.Write
openai_cancel_eval_runTool to cancel an ongoing evaluation run. Use when you need to stop an evaluation run that is currently in progress.Write
openai_cancel_responseTool 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_runTool 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_uploadTool 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_responseTool 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_transcriptionTool 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_translationTool 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_batchTool 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_completionTool 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_completionTool 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_embeddingsGenerate text embeddings via the OpenAI embeddings endpointWrite
openai_create_moderationClassify text and/or image inputs for potentially harmful content via the OpenAI Moderation APIWrite
openai_create_speechGenerate text-to-speech audio using OpenAI's Audio APIWrite
openai_download_fileDownload the contents of a specified file by its IDRead
openai_download_videoDownload video content (MP4) or preview assets from OpenAI Videos APIRead
openai_get_chat_completionRetrieve a stored chat completionRead
openai_get_chat_completion_messagesRetrieve messages from a stored chat completionRead
openai_get_chatkit_threadRetrieve a ChatKit thread by its IDRead
openai_get_conversation_itemRetrieve a single item from a conversationRead
openai_get_evalRetrieve an evaluation by IDRead
openai_get_eval_runRetrieve an evaluation run by ID to check status and resultsRead
openai_get_eval_run_output_itemRetrieve a specific output item from an evaluation run by its IDRead
openai_get_eval_run_output_itemsGet a list of output items for an evaluation runRead
openai_get_eval_runsGet a paginated list of runs for an evaluationRead
openai_get_input_token_countsCalculate input token counts for OpenAI API requestsRead
openai_get_messageRetrieve a specific message from a thread by its IDRead
openai_get_responseRetrieve a model response by IDRead
openai_get_run_stepRetrieve a specific run step from an Assistants API run to inspect detailed execution progressRead