Skip to content

Option to use chatgpt tools such as web search via API #158

@lfinbob

Description

@lfinbob

It would be great if chatgpt-cli supported usage of chatgpt tools, such as web search, directly in config.yaml
That way we can get a more ChatGPT-like experience (e.g., web browsing).

Proposed behavior:

  • Allow specifying tools such as web search in config.yaml

  • When tools are defined, chatgpt-cli should:

    • Include them in each API call (e.g., tools: [...] and tool_choice: "auto")
    • Allow overriding/enabling tools per-invocation via flags (optional nice-to-have)

Motivation:

  • The web UI already integrates tools like web browsing automatically.
  • Being able to define tools in config.yaml would let CLI users opt in to similar functionality

Thanks for considering this feature!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    Status

    Todo

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions