Skip to content

Commit e115366

Browse files
committed
Add tool_use/auto_detect_id_type: one tool, many ID formats (auto-detect by ID structure)
Rebased onto current main; PR now contains only the notebook plus registry.yaml and authors.yaml entries.
1 parent 34022c5 commit e115366

3 files changed

Lines changed: 504 additions & 0 deletions

File tree

authors.yaml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -120,6 +120,10 @@ rgb-prithvi:
120120
name: Prithvi Rajasekaran
121121
website: https://x.com/rgb_prithvi
122122
avatar: https://avatars.githubusercontent.com/u/64937816
123+
rgoulartai:
124+
name: Renato Goulart
125+
website: https://github.com/rgoulartai
126+
avatar: https://avatars.githubusercontent.com/u/184394483?v=4
123127
RichmondAlake:
124128
name: Richmond Alake
125129
website: https://github.com/RichmondAlake

registry.yaml

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -820,3 +820,16 @@
820820
- Responses
821821
- Safeguards
822822
- Billing
823+
- title: 'One tool, many ID formats: let the tool detect the type'
824+
description: When one entity is addressed by several ID formats (orders vs. payments
825+
vs. checkout sessions), design a single status-lookup tool that routes by ID
826+
structure instead of asking the model to declare the type. Compares one-tool-per-ID-space,
827+
an explicit id_type parameter, and in-tool auto-detection, with the rule for when
828+
each applies.
829+
path: tool_use/auto_detect_id_type.ipynb
830+
authors:
831+
- rgoulartai
832+
date: '2026-06-06'
833+
categories:
834+
- Tools
835+
- Agent Patterns

0 commit comments

Comments
 (0)