MCPcopy Create free account
hub / github.com/anthropics/anthropic-sdk-python / lookup_order

Function lookup_order

examples/message_threads.py:9–15  ·  view source on GitHub ↗

Look up the shipping status of an order. Args: order_id: The order number, e.g. 4821

(order_id: str)

Source from the content-addressed store, hash-verified

7
8@beta_tool
9def lookup_order(order_id: str) -> str:
10 """Look up the shipping status of an order.
11
12 Args:
13 order_id: The order number, e.g. 4821
14 """
15 return f"Order {order_id} shipped two days ago and arrives tomorrow."
16
17
18def main() -> None:

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected