Skip to content

Commit 6512f17

Browse files
Release 2.2.0
1 parent d4130d8 commit 6512f17

5 files changed

Lines changed: 30 additions & 1 deletion

File tree

changelog/unreleased/capability-scoped-provider-options.md renamed to changelog/releases/v2.2.0/entries/capability-scoped-provider-options.md

File renamed without changes.

changelog/unreleased/structured-tool-options-with-explicit-provider-schemas.md renamed to changelog/releases/v2.2.0/entries/structured-tool-options-with-explicit-provider-schemas.md

File renamed without changes.
Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
created: 2026-04-03
2+
title: Pi Web Providers v2.2.0
3+
intro: >-
4+
Managed tools now advertise explicit provider-specific option schemas, and provider
5+
options are scoped strictly to their respective capabilities.
6+
source:
7+
mode: sync-stable-queue
8+
previous_stable: v2.1.0

changelog/releases/v2.2.0/notes.md

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
Managed tools now advertise explicit provider-specific option schemas, and provider options are scoped strictly to their respective capabilities.
2+
3+
## 🚀 Features
4+
5+
### Structured tool options with explicit provider schemas
6+
7+
Each managed tool (`web_search`, `web_contents`, `web_answer`, `web_research`) now advertises the exact provider-specific options available for the configured provider directly in the tool schema. This means the agent can discover supported knobs—such as Tavily's `searchDepth` and `country`, Exa's `category` and `userLocation`, or Gemini's `model` and `generation_config`—without relying on documentation or guesswork.
8+
9+
In practice, the agent is more likely to take advantage of provider features like domain filtering, search depth, or location hints when they would improve the quality of results for your query.
10+
11+
*By @mavam and @codex.*
12+
13+
## 🐞 Bug fixes
14+
15+
### Scope provider options by capability
16+
17+
Provider options are now scoped strictly to the managed tool that uses them. This fixes cases where search-only defaults or schema fields could appear to bleed into other tools, such as Exa `web_search` options showing up alongside `web_contents`.
18+
19+
As part of this cleanup, providers with capability-specific defaults now store them under capability-specific configuration blocks, and tools without per-call provider options no longer expose an empty `options.provider` object.
20+
21+
*By @mavam and @codex.*

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "pi-web-providers",
3-
"version": "2.1.0",
3+
"version": "2.2.0",
44
"description": "Configurable web access extension for pi with per-tool provider routing and explicit provider option schemas for search, contents, answers, and research.",
55
"type": "module",
66
"files": [

0 commit comments

Comments
 (0)