Skip to content

Commit 89fb700

Browse files
committed
update docstring for web-search tool
1 parent d805425 commit 89fb700

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

src/xai_sdk/tools.py

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,10 @@ def web_search(
4848
# Create a web search tool that excludes certain domains
4949
tool = web_search(
5050
excluded_domains=["spam-site.com", "unwanted.com"],
51-
enable_image_understanding=True
51+
enable_image_understanding=True,
52+
user_location_country="US",
53+
user_location_city="San Francisco",
54+
user_location_timezone="America/Los_Angeles",
5255
)
5356
```
5457
"""

0 commit comments

Comments
 (0)