Sweep 19 Sep 2026 · 02:36Z Build v2.1.278 500 read Stable v2.1.267 Latest v2.1.278 Next v2.1.280 Feeds RSS JSON llms.txt Unofficial
Reading a new release v2.1.280 First look · 1/6 0 findings $0.00 so far
One change · api

Count tokens in a Message changed

api/messages/count_tokens

Nearest release: v2.1.274, published 7 hours after this site recorded the change. Shown because the two are within 24 hours of each other. Nothing here says the release caused the edit.

Recorded here
Lines+118added
Lines−0removed
From line 2,469 where the diff opens
First seen 14 Aug 2026 this site's first read of the page
Recorded edits8to this page, all time

The whole hunk

from line 2469, old and new numbered
/
lines
from line 2469
24692469 
24702470 When true, guarantees schema validation on tool names and inputs
24712471 
2472 - `url_sources: optional WebFetchURLSources or null`
2473 
2474 Which sources contribute to the set of URLs web fetch may fetch.
2475 
2476 Each key is a tagged variant: `user_input` is `all` or `none`; the
2477 two tool filters are `all`, `none`, `only` (only the named tools'
2478 results) or `except` (every result but the named tools'). A named tool
2479 must be declared in this request's `tools[]`.
2480 
2481 - `client_tool_results: optional WebFetchURLSourceAll or WebFetchURLSourceNone or WebFetchURLSourceOnly or WebFetchURLSourceExcept`
2482 
2483 Which client tools' results contribute fetchable URLs: "all", "none", or an only or except list of client tool names from tools[].
2484 
2485 - `WebFetchURLSourceAll object`
2486 
2487 The `url_sources` variant under which a source contributes in
2488 full: every result of the tool filter's source, or all user input.
2489 
2490 - `type: "all"`
2491 
2492 - `WebFetchURLSourceNone object`
2493 
2494 The `url_sources` variant under which a source contributes nothing:
2495 no result of the tool filter's source, or no user input.
2496 
2497 - `type: "none"`
2498 
2499 - `WebFetchURLSourceOnly object`
2500 
2501 The tool filter variant under which only the named tools' results
2502 contribute.
2503 
2504 - `type: "only"`
2505 
2506 - `tools: array of WebFetchURLSourceToolReference`
2507 
2508 - `type: "tool_reference"`
2509 
2510 - `name: string`
2511 
2512 - `WebFetchURLSourceExcept object`
2513 
2514 The tool filter variant under which every result but the named
2515 tools' contributes.
2516 
2517 - `type: "except"`
2518 
2519 - `tools: array of WebFetchURLSourceToolReference`
2520 
2521 - `type: "tool_reference"`
2522 
2523 - `name: string`
2524 
2525 - `server_tool_results: optional WebFetchURLSourceAll or WebFetchURLSourceNone or WebFetchURLSourceOnly or WebFetchURLSourceExcept`
2526 
2527 Which server tools' results contribute fetchable URLs: "all", "none", or an only or except list of server tool names from tools[]; only web_search and web_fetch results ever contribute.
2528 
2529 - `WebFetchURLSourceAll object`
2530 
2531 The `url_sources` variant under which a source contributes in
2532 full: every result of the tool filter's source, or all user input.
2533 
2534 - `WebFetchURLSourceNone object`
2535 
2536 The `url_sources` variant under which a source contributes nothing:
2537 no result of the tool filter's source, or no user input.
2538 
2539 - `WebFetchURLSourceOnly object`
2540 
2541 The tool filter variant under which only the named tools' results
2542 contribute.
2543 
2544 - `WebFetchURLSourceExcept object`
2545 
2546 The tool filter variant under which every result but the named
2547 tools' contributes.
2548 
2549 - `user_input: optional WebFetchURLSourceAll or WebFetchURLSourceNone`
2550 
2551 Whether URLs in user messages are fetchable: "all" or "none".
2552 
2553 - `WebFetchURLSourceAll object`
2554 
2555 The `url_sources` variant under which a source contributes in
2556 full: every result of the tool filter's source, or all user input.
2557 
2558 - `WebFetchURLSourceNone object`
2559 
2560 The `url_sources` variant under which a source contributes nothing:
2561 no result of the tool filter's source, or no user input.
2562 
24722563 - `WebSearchTool20260209 object`
24732564 
24742565 - `type: "web_search_20260209"`
from line 2666
25752666 
25762667 When true, guarantees schema validation on tool names and inputs
25772668 
2669 - `url_sources: optional WebFetchURLSources or null`
2670 
2671 Which sources contribute to the set of URLs web fetch may fetch.
2672 
2673 Each key is a tagged variant: `user_input` is `all` or `none`; the
2674 two tool filters are `all`, `none`, `only` (only the named tools'
2675 results) or `except` (every result but the named tools'). A named tool
2676 must be declared in this request's `tools[]`.
2677 
25782678 - `WebFetchTool20260309 object`
25792679 
25802680 Web fetch tool with use_cache parameter for bypassing cached content.
from line 2733
26332733 
26342734 When true, guarantees schema validation on tool names and inputs
26352735 
2736 - `url_sources: optional WebFetchURLSources or null`
2737 
2738 Which sources contribute to the set of URLs web fetch may fetch.
2739 
2740 Each key is a tagged variant: `user_input` is `all` or `none`; the
2741 two tool filters are `all`, `none`, `only` (only the named tools'
2742 results) or `except` (every result but the named tools'). A named tool
2743 must be declared in this request's `tools[]`.
2744 
26362745 - `use_cache: optional boolean`
26372746 
26382747 Whether to use cached content. Set to false to bypass the cache and fetch fresh content. Only set to false when the user explicitly requests fresh content or when fetching rapidly-changing sources.
from line 2867
27582867 - `strict: optional boolean`
27592868 
27602869 When true, guarantees schema validation on tool names and inputs
2870 
2871 - `url_sources: optional WebFetchURLSources or null`
2872 
2873 Which sources contribute to the set of URLs web fetch may fetch.
2874 
2875 Each key is a tagged variant: `user_input` is `all` or `none`; the
2876 two tool filters are `all`, `none`, `only` (only the named tools'
2877 results) or `except` (every result but the named tools'). A named tool
2878 must be declared in this request's `tools[]`.
27612879 
27622880 - `use_cache: optional boolean`
27632881