agentsclimarketplace

Hosted tools web search

Skill kjuhwa/skills-hub/skills/integration/hosted-tools-web-search

Add hosted OpenAI tools (WebSearchTool, FileSearchTool, CodeInterpreterTool) to an agent.From its SKILL.md

Install
npx -y skills add kjuhwa/skills-hub --skill hosted-tools-web-search

Assembled from the repository path, not quoted from the project. Check it against their README if it does not work.

One thing to look at

  • 0 stars0 stars. Stars are a popularity signal and not a quality one, but at this level it is likely that nobody has read this closely except its author, and you would be relying on your own review.

SKILL.md

2.3 KB, 407 tokens by cl100k_base, as published. Nobody here has run it

hosted-tools-web-search

Use WebSearchTool, FileSearchTool, or CodeInterpreterTool from agents package. These run on OpenAI's servers without your Python code handling the execution.

When to apply

When you need real-time web search, vector store retrieval, or sandboxed code execution without building and maintaining tool infrastructure.

Web search

from agents import Agent, Runner, WebSearchTool

agent = Agent(
    name="Web searcher",
    instructions="You are a helpful agent.",
    tools=[WebSearchTool(
        user_location={"type": "approximate", "city": "New York"},
        search_context_size="medium",  # "low" | "medium" | "high"
    )],
)
result = await Runner.run(agent, "What's the latest local sports news?")

File search (vector store)

from agents import Agent, FileSearchTool

agent = Agent(
    name="Research assistant",
    tools=[FileSearchTool(
        max_num_results=3,
        vector_store_ids=["vs_abc123"],
    )],
)

Code interpreter

from agents import Agent, CodeInterpreterTool

agent = Agent(
    name="Data analyst",
    model="gpt-4o",
    instructions="Use the code interpreter to solve numeric problems.",
    tools=[CodeInterpreterTool(
        tool_config={"type": "code_interpreter", "container": {"type": "auto"}},
    )],
)

Key notes

  • Hosted tools run server-side; your Python process is NOT called for each tool invocation
  • on_tool_start/end lifecycle hooks do NOT fire for hosted tools
  • WebSearchTool supports filters for domain inclusion/exclusion
  • FileSearchTool supports ranking_options and include_search_results
  • CodeInterpreterTool requires org verification for gpt-5 class models with streaming

What ships with it

Read from the repository

Just SKILL.md. No reference files, no scripts.

Keep looking

Skills are one crate of 626,045. Ordering is by how many stacks a row turns up in, so the top of any crate is what has actually been picked rather than what has the most stars.