| role | content | |
|---|---|---|
| [0] | system | You answer briefly and plainly. Use the tools you are given. |
| [1] | human | How much is milk? |
| tool | description | schema |
|---|---|---|
| price_of | The current shelf price of an item, in pounds. | {"description": "The current shelf price of an item, in pounds.", "properties": {"item": {"title": "Item", "type": "string"}}, "required": ["item"], "title": "price_of", "type": "object"} |
| stock_of | How many units of an item are on the shelf. | {"description": "How many units of an item are on the shelf.", "properties": {"item": {"title": "Item", "type": "string"}}, "required": ["item"], "title": "stock_of", "type": "object"} |
| hours_of | The store's opening hours on a given day. | {"description": "The store's opening hours on a given day.", "properties": {"day": {"title": "Day", "type": "string"}}, "required": ["day"], "title": "hours_of", "type": "object"} |
| role | content | |
|---|---|---|
| [0] | ai | price_of({"item": "milk"}) |
| role | content | |
|---|---|---|
| [0] | system | You answer briefly and plainly. Use the tools you are given. |
| [1] | human | How much is milk? |
| [2] | ai | price_of({"item": "milk"}) |
| [3] | tool | 1.20 for milk |
| tool | description | schema |
|---|---|---|
| price_of | The current shelf price of an item, in pounds. | {"description": "The current shelf price of an item, in pounds.", "properties": {"item": {"title": "Item", "type": "string"}}, "required": ["item"], "title": "price_of", "type": "object"} |
| stock_of | How many units of an item are on the shelf. | {"description": "How many units of an item are on the shelf.", "properties": {"item": {"title": "Item", "type": "string"}}, "required": ["item"], "title": "stock_of", "type": "object"} |
| hours_of | The store's opening hours on a given day. | {"description": "The store's opening hours on a given day.", "properties": {"day": {"title": "Day", "type": "string"}}, "required": ["day"], "title": "hours_of", "type": "object"} |
| role | content | |
|---|---|---|
| [0] | ai | Milk is 1.20. |
| role | content | |
|---|---|---|
| [0] | system | You answer briefly and plainly. Use the tools you are given. |
| [1] | human | How much is milk? |
| tool | description | schema |
|---|---|---|
| price_of | The current shelf price of an item, in pounds. | {"description": "The current shelf price of an item, in pounds.", "properties": {"item": {"title": "Item", "type": "string"}}, "required": ["item"], "title": "price_of", "type": "object"} |
| stock_of | How many units of an item are on the shelf. | {"description": "How many units of an item are on the shelf.", "properties": {"item": {"title": "Item", "type": "string"}}, "required": ["item"], "title": "stock_of", "type": "object"} |
| hours_of | The store's opening hours on a given day. | {"description": "The store's opening hours on a given day.", "properties": {"day": {"title": "Day", "type": "string"}}, "required": ["day"], "title": "hours_of", "type": "object"} |
| accept | application/json |
| accept-encoding | gzip, deflate, zstd |
| authorization | not recorded |
| connection | keep-alive |
| content-length | 806 |
| content-type | application/json |
| host | api.deepseek.com |
| user-agent | OpenAI/Python 3.6.0 |
| x-stainless-arch | arm64 |
| x-stainless-async | false |
| x-stainless-lang | python |
| x-stainless-os | MacOS |
| x-stainless-package-version | 3.6.0 |
| x-stainless-raw-response | true |
| x-stainless-read-timeout | 60.0 |
| x-stainless-retry-count | 0 |
| x-stainless-runtime | CPython |
| x-stainless-runtime-version | 3.14.7 |
{
"messages": [
{
"content": "You answer briefly and plainly. Use the tools you are given.",
"role": "system"
},
{
"content": "How much is milk?",
"role": "user"
}
],
"model": "deepseek-flash",
"stream": false,
"tools": [
{
"type": "function",
"function": {
"name": "price_of",
"description": "The current shelf price of an item, in pounds.",
"parameters": {
"properties": {
"item": {
"type": "string"
}
},
"required": [
"item"
],
"type": "object"
}
}
},
{
"type": "function",
"function": {
"name": "stock_of",
"description": "How many units of an item are on the shelf.",
"parameters": {
"properties": {
"item": {
"type": "string"
}
},
"required": [
"item"
],
"type": "object"
}
}
},
{
"type": "function",
"function": {
"name": "hours_of",
"description": "The store's opening hours on a given day.",
"parameters": {
"properties": {
"day": {
"type": "string"
}
},
"required": [
"day"
],
"type": "object"
}
}
}
]
}| access-control-allow-credentials | true |
| connection | keep-alive |
| content-encoding | gzip |
| content-type | application/json |
| date | Sun, 13 Sep 2026 21:53:33 GMT |
| server | elb |
| strict-transport-security | max-age=31536000; includeSubDomains; preload |
| transfer-encoding | chunked |
| vary | origin, access-control-request-method, access-control-request-headers |
| via | 1.1 d367a81605c570be8f51546cf4468ece.cloudfront.net (CloudFront) |
| x-amz-cf-id | 0PrMNh20gcVz2kGyEGyQXSvMhtR4cy8KDBtj901DNLqZTNTwegzCZA== |
| x-amz-cf-pop | DEN53-P4 |
| x-cache | Miss from cloudfront |
| x-content-type-options | nosniff |
| x-ds-trace-id | ab9d7cc0ead7b5ced7816abcbbb280c8 |
{
"id": "e9ea1cef-bcbc-4e7a-a267-da62f1509c90",
"object": "chat.completion",
"created": 1789336413,
"model": "deepseek-flash",
"choices": [
{
"index": 0,
"message": {
"role": "assistant",
"content": "",
"reasoning_content": "",
"tool_calls": [
{
"index": 0,
"id": "call_00_ET_Tr6HUTk8I25DaoimVcXA6232",
"type": "function",
"function": {
"name": "price_of",
"arguments": "{\"item\": \"milk\"}"
}
}
]
},
"logprobs": null,
"finish_reason": "tool_calls"
}
],
"usage": {
"prompt_tokens": 411,
"completion_tokens": 39,
"total_tokens": 450,
"prompt_tokens_details": {
"cached_tokens": 256
},
"completion_tokens_details": {
"reasoning_tokens": 0
},
"prompt_cache_hit_tokens": 256,
"prompt_cache_miss_tokens": 155
},
"system_fingerprint": "aeb56401ca74e127821c4f9126dcb669"
}| role | content | |
|---|---|---|
| [0] | ai | price_of({"item": "milk"}) |
| role | content | |
|---|---|---|
| [0] | system | You answer briefly and plainly. Use the tools you are given. |
| [1] | human | How much is milk? |
| [2] | ai | price_of({"item": "milk"}) |
| [3] | tool | 1.20 for milk |
| tool | description | schema |
|---|---|---|
| price_of | The current shelf price of an item, in pounds. | {"description": "The current shelf price of an item, in pounds.", "properties": {"item": {"title": "Item", "type": "string"}}, "required": ["item"], "title": "price_of", "type": "object"} |
| stock_of | How many units of an item are on the shelf. | {"description": "How many units of an item are on the shelf.", "properties": {"item": {"title": "Item", "type": "string"}}, "required": ["item"], "title": "stock_of", "type": "object"} |
| hours_of | The store's opening hours on a given day. | {"description": "The store's opening hours on a given day.", "properties": {"day": {"title": "Day", "type": "string"}}, "required": ["day"], "title": "hours_of", "type": "object"} |
| accept | application/json |
| accept-encoding | gzip, deflate, zstd |
| authorization | not recorded |
| connection | keep-alive |
| content-length | 1081 |
| content-type | application/json |
| host | api.deepseek.com |
| user-agent | OpenAI/Python 3.6.0 |
| x-stainless-arch | arm64 |
| x-stainless-async | false |
| x-stainless-lang | python |
| x-stainless-os | MacOS |
| x-stainless-package-version | 3.6.0 |
| x-stainless-raw-response | true |
| x-stainless-read-timeout | 60.0 |
| x-stainless-retry-count | 0 |
| x-stainless-runtime | CPython |
| x-stainless-runtime-version | 3.14.7 |
{
"messages": [
{
"content": "You answer briefly and plainly. Use the tools you are given.",
"role": "system"
},
{
"content": "How much is milk?",
"role": "user"
},
{
"content": null,
"role": "assistant",
"tool_calls": [
{
"type": "function",
"id": "call_00_ET_Tr6HUTk8I25DaoimVcXA6232",
"function": {
"name": "price_of",
"arguments": "{\"item\": \"milk\"}"
}
}
]
},
{
"content": "1.20 for milk",
"role": "tool",
"tool_call_id": "call_00_ET_Tr6HUTk8I25DaoimVcXA6232"
}
],
"model": "deepseek-flash",
"stream": false,
"tools": [
{
"type": "function",
"function": {
"name": "price_of",
"description": "The current shelf price of an item, in pounds.",
"parameters": {
"properties": {
"item": {
"type": "string"
}
},
"required": [
"item"
],
"type": "object"
}
}
},
{
"type": "function",
"function": {
"name": "stock_of",
"description": "How many units of an item are on the shelf.",
"parameters": {
"properties": {
"item": {
"type": "string"
}
},
"required": [
"item"
],
"type": "object"
}
}
},
{
"type": "function",
"function": {
"name": "hours_of",
"description": "The store's opening hours on a given day.",
"parameters": {
"properties": {
"day": {
"type": "string"
}
},
"required": [
"day"
],
"type": "object"
}
}
}
]
}| access-control-allow-credentials | true |
| connection | keep-alive |
| content-encoding | gzip |
| content-type | application/json |
| date | Sun, 13 Sep 2026 21:53:34 GMT |
| server | elb |
| strict-transport-security | max-age=31536000; includeSubDomains; preload |
| transfer-encoding | chunked |
| vary | origin, access-control-request-method, access-control-request-headers |
| via | 1.1 f111faa3f37b2169cefb225b0f246234.cloudfront.net (CloudFront) |
| x-amz-cf-id | qw58ZXPXTUlxz2RluaWopOUHNYvD9hA8NLIZW6daWmZZVyuGJviW2Q== |
| x-amz-cf-pop | DEN52-P2 |
| x-cache | Miss from cloudfront |
| x-content-type-options | nosniff |
| x-ds-trace-id | 3c6c48a52704ce0d5f5106a59e4dfe62 |
{
"id": "155bcc4a-ae19-4f1a-8829-b2d86d6306cc",
"object": "chat.completion",
"created": 1789336414,
"model": "deepseek-flash",
"choices": [
{
"index": 0,
"message": {
"role": "assistant",
"content": "Milk is \u00a31.20.",
"reasoning_content": ""
},
"logprobs": null,
"finish_reason": "stop"
}
],
"usage": {
"prompt_tokens": 467,
"completion_tokens": 9,
"total_tokens": 476,
"prompt_tokens_details": {
"cached_tokens": 256
},
"completion_tokens_details": {
"reasoning_tokens": 0
},
"prompt_cache_hit_tokens": 256,
"prompt_cache_miss_tokens": 211
},
"system_fingerprint": "aeb56401ca74e127821c4f9126dcb669"
}| role | content | |
|---|---|---|
| [0] | ai | Milk is £1.20. |
| role | content | |
|---|---|---|
| [0] | system | You answer briefly and plainly. Use the tools you are given. |
| [1] | human | Reference document: Round every price to the nearest 5p. |
| [2] | human | How much should milk cost, rounded per the policy? |
| role | content | |
|---|---|---|
| [0] | ai | Milk should be rounded to the nearest 5p. |
| role | content | |
|---|---|---|
| [0] | system | You answer briefly and plainly. Use the tools you are given. |
| [1] | human | Reference document: Round every price to the nearest 5p. |
| [2] | human | How much should milk cost, rounded per the policy? |
| accept | application/json |
| accept-encoding | gzip, deflate, zstd |
| authorization | not recorded |
| connection | keep-alive |
| content-length | 310 |
| content-type | application/json |
| host | api.deepseek.com |
| user-agent | OpenAI/Python 3.6.0 |
| x-stainless-arch | arm64 |
| x-stainless-async | false |
| x-stainless-lang | python |
| x-stainless-os | MacOS |
| x-stainless-package-version | 3.6.0 |
| x-stainless-raw-response | true |
| x-stainless-read-timeout | 60.0 |
| x-stainless-retry-count | 0 |
| x-stainless-runtime | CPython |
| x-stainless-runtime-version | 3.14.7 |
{
"messages": [
{
"content": "You answer briefly and plainly. Use the tools you are given.",
"role": "system"
},
{
"content": "Reference document:\nRound every price to the nearest 5p.",
"role": "user"
},
{
"content": "How much should milk cost, rounded per the policy?",
"role": "user"
}
],
"model": "deepseek-flash",
"stream": false
}| access-control-allow-credentials | true |
| connection | keep-alive |
| content-encoding | gzip |
| content-type | application/json |
| date | Sun, 13 Sep 2026 21:53:35 GMT |
| server | elb |
| strict-transport-security | max-age=31536000; includeSubDomains; preload |
| transfer-encoding | chunked |
| vary | origin, access-control-request-method, access-control-request-headers |
| via | 1.1 975ade3143a5f26adabbac0540e470ce.cloudfront.net (CloudFront) |
| x-amz-cf-id | QlStBBlvlJCi3UfqvHAZM8YaEyZUEU2YmRHNNjJ329JW1w3IshHGhw== |
| x-amz-cf-pop | DEN53-P6 |
| x-cache | Miss from cloudfront |
| x-content-type-options | nosniff |
| x-ds-trace-id | 8e8713b3ca5ec5f1d96b3c91be5b6bf7 |
{
"id": "547cf9cd-1c68-49f6-9608-720feeb84307",
"object": "chat.completion",
"created": 1789336415,
"model": "deepseek-flash",
"choices": [
{
"index": 0,
"message": {
"role": "assistant",
"content": "I need the unrounded price of milk to apply the rounding policy. No milk price is provided in the reference document.",
"reasoning_content": "We need answer user. Need infer reference doc? They say Reference document: Round every price to the nearest 5p. How much should milk cost, rounded per policy? We need know milk price. No price given. Maybe trick? Need ask for unrounded milk price. But maybe reference document has milk? The entire reference doc only says \"Round every price to the nearest 5p.\" There's no milk price. Need answer briefly plainly. We cannot compute without original price. So ask provide milk price. Need mention if milk price is X, round to nearest 5p. But user asks \"How much should milk cost, rounded per policy?\" Could be from some context absent. We answer: Need the unrounded price of milk; no milk price is given."
},
"logprobs": null,
"finish_reason": "stop"
}
],
"usage": {
"prompt_tokens": 67,
"completion_tokens": 182,
"total_tokens": 249,
"prompt_tokens_details": {
"cached_tokens": 0
},
"completion_tokens_details": {
"reasoning_tokens": 157
},
"prompt_cache_hit_tokens": 0,
"prompt_cache_miss_tokens": 67
},
"system_fingerprint": "aeb56401ca74e127821c4f9126dcb669"
}| role | content | |
|---|---|---|
| [0] | ai | I need the unrounded price of milk to apply the rounding policy. No milk price is provided in the reference document. |
| role | content | |
|---|---|---|
| [0] | system | You answer briefly and plainly. Use the tools you are given. |
| [1] | human | What does butter cost right now? |
| role | content | |
|---|---|---|
| [0] | ai | Butter is 1.20. |
| role | content | |
|---|---|---|
| [0] | system | You answer briefly and plainly. Use the tools you are given. |
| [1] | human | What does butter cost right now? |
| accept | application/json |
| accept-encoding | gzip, deflate, zstd |
| authorization | not recorded |
| connection | keep-alive |
| content-length | 206 |
| content-type | application/json |
| host | api.deepseek.com |
| user-agent | OpenAI/Python 3.6.0 |
| x-stainless-arch | arm64 |
| x-stainless-async | false |
| x-stainless-lang | python |
| x-stainless-os | MacOS |
| x-stainless-package-version | 3.6.0 |
| x-stainless-raw-response | true |
| x-stainless-read-timeout | 60.0 |
| x-stainless-retry-count | 0 |
| x-stainless-runtime | CPython |
| x-stainless-runtime-version | 3.14.7 |
{
"messages": [
{
"content": "You answer briefly and plainly. Use the tools you are given.",
"role": "system"
},
{
"content": "What does butter cost right now?",
"role": "user"
}
],
"model": "deepseek-flash",
"stream": false
}| access-control-allow-credentials | true |
| connection | keep-alive |
| content-encoding | gzip |
| content-type | application/json |
| date | Sun, 13 Sep 2026 21:53:37 GMT |
| server | elb |
| strict-transport-security | max-age=31536000; includeSubDomains; preload |
| transfer-encoding | chunked |
| vary | origin, access-control-request-method, access-control-request-headers |
| via | 1.1 acb55e8d2b8ad7df45561a8bccaaa688.cloudfront.net (CloudFront) |
| x-amz-cf-id | NKYAhUlTbJ6CqosC7F00BELeWamz3KSo71YUk4PF3T52j3sgmtNpkg== |
| x-amz-cf-pop | DEN52-P3 |
| x-cache | Miss from cloudfront |
| x-content-type-options | nosniff |
| x-ds-trace-id | 9b019d49bda6045ed26ece9e6924e6c9 |
{
"id": "4722a0be-eb90-49c4-b478-f4e5fc5e1fb2",
"object": "chat.completion",
"created": 1789336417,
"model": "deepseek-flash",
"choices": [
{
"index": 0,
"message": {
"role": "assistant",
"content": "Butter prices vary too much to give one \u201cright now\u201d number\u2014country, city, store, brand, and type all matter.\n\nIn the U.S., regular 1-lb butter is commonly around **$4\u2013$6** at supermarkets, with organic/European-style often **$6\u2013$9+**. I can\u2019t check live prices, so tell me your location and brand if you want a closer estimate.",
"reasoning_content": "We need answer user asks \"What does butter cost right now?\" Need current price. We need tools? We have no explicit tools listed except maybe web? Wait system says \"You answer briefly and plainly. Use the tools you are given.\" But in this interface, no tools listed. We need answer. Need current butter cost. We don't know location. Butter prices vary by region, type, store. Need maybe ask clarifying? Could give typical US average? \"Right now\" requires current data. We don't have browsing. We should be honest no live access. Maybe mention USDA average for butter? But current date 2026-05-09. Knowledge cutoff 2024. Can't know. We can say depends on where and what kind; in the U.S., recent average retail price for a 1-lb stick of butter has been around $4\u2013$5, but I can't check live prices. Need maybe if you mean USDA average? Let's craft brief. Could ask location. But user likely expects answer. We can say \"I can't check live prices, so I can't give an exact 'right now' price. In the U.S., a 1-lb package of regular butter is commonly around $4\u2013$6 depending on brand/store/region; organic or European-style can be $6\u2013$9+. Tell me your country/city and brand and I can help estimate.\" But maybe \"right now\" as in current market? Butter futures? CME butter spot? There is CME cash butter price. Could answer if they mean commodity price: CME spot butter? As of knowledge cutoff, maybe around $2.50/lb? Actually butter prices in 2024: CME spot butter price around $3.10/lb? USDA AMS butter price? Let's recall.\n\nButter prices: In 2024, US average retail butter price per pound: $4.88? In 2023, $4.66? In 2024 maybe $4.88. In 2025? We don't know. Current 2026. Without live data impossible.\n\nMaybe can use tools? The system says use tools given, but none. We could maybe not. Final should be concise.\n\nMaybe answer: \"I can\u2019t access live pricing, so I can\u2019t say exactly. In the U.S., a 1-lb stick/package is typically ~$4\u2013$6 at supermarkets; warehouse clubs can be cheaper, organic/European-style higher. If you tell me your city and brand, I can give a better ballpark.\" That's safe.\n\nBut maybe we can mention \"USDA reported average retail price for butter (1 lb) was $4.87 in [month]\"? Need avoid outdated specifics. Since current date 2026, can't.\n\nCould we answer in a way that asks for location. The prompt \"What does butter cost right now?\" We can say \"Depends\u2014where are you, and what type? I don't have live price access.\" Brief.\n\nWe need satisfy. Maybe include \"If you mean the U.S. average, the last reliable federal data I have was around $4.50\u2013$5.00 per pound, but that's not current.\" However \"last reliable\" might be 2024. Maybe okay.\n\nLet's final with clarifying. Use plain. "
},
"logprobs": null,
"finish_reason": "stop"
}
],
"usage": {
"prompt_tokens": 50,
"completion_tokens": 784,
"total_tokens": 834,
"prompt_tokens_details": {
"cached_tokens": 0
},
"completion_tokens_details": {
"reasoning_tokens": 695
},
"prompt_cache_hit_tokens": 0,
"prompt_cache_miss_tokens": 50
},
"system_fingerprint": "aeb56401ca74e127821c4f9126dcb669"
}| role | content | |
|---|---|---|
| [0] | ai | Butter prices vary too much to give one “right now” number—country, city, store, brand, and type all matter. In the U.S., regular 1-lb butter is commonly around **$4–$6** at supermarkets, with organic/European-style often **$6–$9+**. I can’t check live prices, so tell me your location and brand if you want a closer estimate. |
| role | content | |
|---|---|---|
| [0] | system | You answer briefly and plainly. Use the tools you are given. |
| [1] | human | What does butter cost right now? |
| tool | description | schema |
|---|---|---|
| price_of | The current shelf price of an item, in pounds. | {"description": "The current shelf price of an item, in pounds.", "properties": {"item": {"title": "Item", "type": "string"}}, "required": ["item"], "title": "price_of", "type": "object"} |
| role | content | |
|---|---|---|
| [0] | ai | price_of({"item": "butter"}) |
| role | content | |
|---|---|---|
| [0] | system | You answer briefly and plainly. Use the tools you are given. |
| [1] | human | What does butter cost right now? |
| [2] | ai | price_of({"item": "butter"}) |
| [3] | tool | 1.20 for butter |
| tool | description | schema |
|---|---|---|
| price_of | The current shelf price of an item, in pounds. | {"description": "The current shelf price of an item, in pounds.", "properties": {"item": {"title": "Item", "type": "string"}}, "required": ["item"], "title": "price_of", "type": "object"} |
| role | content | |
|---|---|---|
| [0] | ai | Butter is 1.20. |
| role | content | |
|---|---|---|
| [0] | system | You answer briefly and plainly. Use the tools you are given. |
| [1] | human | What does butter cost right now? |
| tool | description | schema |
|---|---|---|
| price_of | The current shelf price of an item, in pounds. | {"description": "The current shelf price of an item, in pounds.", "properties": {"item": {"title": "Item", "type": "string"}}, "required": ["item"], "title": "price_of", "type": "object"} |
| accept | application/json |
| accept-encoding | gzip, deflate, zstd |
| authorization | not recorded |
| connection | keep-alive |
| content-length | 421 |
| content-type | application/json |
| host | api.deepseek.com |
| user-agent | OpenAI/Python 3.6.0 |
| x-stainless-arch | arm64 |
| x-stainless-async | false |
| x-stainless-lang | python |
| x-stainless-os | MacOS |
| x-stainless-package-version | 3.6.0 |
| x-stainless-raw-response | true |
| x-stainless-read-timeout | 60.0 |
| x-stainless-retry-count | 0 |
| x-stainless-runtime | CPython |
| x-stainless-runtime-version | 3.14.7 |
{
"messages": [
{
"content": "You answer briefly and plainly. Use the tools you are given.",
"role": "system"
},
{
"content": "What does butter cost right now?",
"role": "user"
}
],
"model": "deepseek-flash",
"stream": false,
"tools": [
{
"type": "function",
"function": {
"name": "price_of",
"description": "The current shelf price of an item, in pounds.",
"parameters": {
"properties": {
"item": {
"type": "string"
}
},
"required": [
"item"
],
"type": "object"
}
}
}
]
}| access-control-allow-credentials | true |
| connection | keep-alive |
| content-encoding | gzip |
| content-type | application/json |
| date | Sun, 13 Sep 2026 21:53:42 GMT |
| server | elb |
| strict-transport-security | max-age=31536000; includeSubDomains; preload |
| transfer-encoding | chunked |
| vary | origin, access-control-request-method, access-control-request-headers |
| via | 1.1 3c8d0ab13267e31118fd28e835a3b4e4.cloudfront.net (CloudFront) |
| x-amz-cf-id | yqrPFLmP62qazDJSmSPyx0q-W53tnCMvjh9ot0RId124yVd_eHBc8Q== |
| x-amz-cf-pop | DEN53-P6 |
| x-cache | Miss from cloudfront |
| x-content-type-options | nosniff |
| x-ds-trace-id | 3157ff6ca069ad646439b299cae4123b |
{
"id": "9f879448-ee8f-4261-8508-9fa9542a0ae4",
"object": "chat.completion",
"created": 1789336422,
"model": "deepseek-flash",
"choices": [
{
"index": 0,
"message": {
"role": "assistant",
"content": "",
"reasoning_content": "The user wants the price of butter. Let me call the tool.",
"tool_calls": [
{
"index": 0,
"id": "call_00_pA1VEZqsSsZU43Yk1NEw4244",
"type": "function",
"function": {
"name": "price_of",
"arguments": "{\"item\": \"butter\"}"
}
}
]
},
"logprobs": null,
"finish_reason": "tool_calls"
}
],
"usage": {
"prompt_tokens": 312,
"completion_tokens": 53,
"total_tokens": 365,
"prompt_tokens_details": {
"cached_tokens": 128
},
"completion_tokens_details": {
"reasoning_tokens": 14
},
"prompt_cache_hit_tokens": 128,
"prompt_cache_miss_tokens": 184
},
"system_fingerprint": "aeb56401ca74e127821c4f9126dcb669"
}| role | content | |
|---|---|---|
| [0] | ai | price_of({"item": "butter"}) |
| role | content | |
|---|---|---|
| [0] | system | You answer briefly and plainly. Use the tools you are given. |
| [1] | human | What does butter cost right now? |
| [2] | ai | price_of({"item": "butter"}) |
| [3] | tool | 1.20 for butter |
| tool | description | schema |
|---|---|---|
| price_of | The current shelf price of an item, in pounds. | {"description": "The current shelf price of an item, in pounds.", "properties": {"item": {"title": "Item", "type": "string"}}, "required": ["item"], "title": "price_of", "type": "object"} |
| accept | application/json |
| accept-encoding | gzip, deflate, zstd |
| authorization | not recorded |
| connection | keep-alive |
| content-length | 774 |
| content-type | application/json |
| host | api.deepseek.com |
| user-agent | OpenAI/Python 3.6.0 |
| x-stainless-arch | arm64 |
| x-stainless-async | false |
| x-stainless-lang | python |
| x-stainless-os | MacOS |
| x-stainless-package-version | 3.6.0 |
| x-stainless-raw-response | true |
| x-stainless-read-timeout | 60.0 |
| x-stainless-retry-count | 0 |
| x-stainless-runtime | CPython |
| x-stainless-runtime-version | 3.14.7 |
{
"messages": [
{
"content": "You answer briefly and plainly. Use the tools you are given.",
"role": "system"
},
{
"content": "What does butter cost right now?",
"role": "user"
},
{
"content": null,
"role": "assistant",
"tool_calls": [
{
"type": "function",
"id": "call_00_pA1VEZqsSsZU43Yk1NEw4244",
"function": {
"name": "price_of",
"arguments": "{\"item\": \"butter\"}"
}
}
],
"reasoning_content": "The user wants the price of butter. Let me call the tool."
},
{
"content": "1.20 for butter",
"role": "tool",
"tool_call_id": "call_00_pA1VEZqsSsZU43Yk1NEw4244"
}
],
"model": "deepseek-flash",
"stream": false,
"tools": [
{
"type": "function",
"function": {
"name": "price_of",
"description": "The current shelf price of an item, in pounds.",
"parameters": {
"properties": {
"item": {
"type": "string"
}
},
"required": [
"item"
],
"type": "object"
}
}
}
]
}| access-control-allow-credentials | true |
| connection | keep-alive |
| content-encoding | gzip |
| content-type | application/json |
| date | Sun, 13 Sep 2026 21:53:43 GMT |
| server | elb |
| strict-transport-security | max-age=31536000; includeSubDomains; preload |
| transfer-encoding | chunked |
| vary | origin, access-control-request-method, access-control-request-headers |
| via | 1.1 fdb71c154448c5637ac452d623bb2ad6.cloudfront.net (CloudFront) |
| x-amz-cf-id | ThoWfASiqk2e46pxdPKEl1EBLzlMDbQ2bo1fvIefzY_B8UuuqPK9jA== |
| x-amz-cf-pop | DEN52-P3 |
| x-cache | Miss from cloudfront |
| x-content-type-options | nosniff |
| x-ds-trace-id | 057e2aabc18b05a765574065914f96d8 |
{
"id": "c5f0a522-506f-482b-a89a-bdcc7044d925",
"object": "chat.completion",
"created": 1789336423,
"model": "deepseek-flash",
"choices": [
{
"index": 0,
"message": {
"role": "assistant",
"content": "Butter is currently \u00a31.20.",
"reasoning_content": "The tool returned \"1.20 for butter\" \u2014 presumably \u00a31.20."
},
"logprobs": null,
"finish_reason": "stop"
}
],
"usage": {
"prompt_tokens": 382,
"completion_tokens": 27,
"total_tokens": 409,
"prompt_tokens_details": {
"cached_tokens": 128
},
"completion_tokens_details": {
"reasoning_tokens": 17
},
"prompt_cache_hit_tokens": 128,
"prompt_cache_miss_tokens": 254
},
"system_fingerprint": "aeb56401ca74e127821c4f9126dcb669"
}| role | content | |
|---|---|---|
| [0] | ai | Butter is currently £1.20. |
| role | content | |
|---|---|---|
| [0] | system | You answer briefly and plainly. Use the tools you are given. |
| [1] | human | How much is milk? |
| tool | description | schema |
|---|---|---|
| price_of | The current shelf price of an item, in pounds. | {"description": "The current shelf price of an item, in pounds.", "properties": {"item": {"title": "Item", "type": "string"}}, "required": ["item"], "title": "price_of", "type": "object"} |
| stock_of | How many units of an item are on the shelf. | {"description": "How many units of an item are on the shelf.", "properties": {"item": {"title": "Item", "type": "string"}}, "required": ["item"], "title": "stock_of", "type": "object"} |
| hours_of | The store's opening hours on a given day. | {"description": "The store's opening hours on a given day.", "properties": {"day": {"title": "Day", "type": "string"}}, "required": ["day"], "title": "hours_of", "type": "object"} |
| role | content | |
|---|---|---|
| [0] | ai | price_of({"item": "milk"}) |
| role | content | |
|---|---|---|
| [0] | system | You answer briefly and plainly. Use the tools you are given. |
| [1] | human | How much is milk? |
| [2] | ai | price_of({"item": "milk"}) |
| [3] | tool | 1.20 for milk |
| tool | description | schema |
|---|---|---|
| price_of | The current shelf price of an item, in pounds. | {"description": "The current shelf price of an item, in pounds.", "properties": {"item": {"title": "Item", "type": "string"}}, "required": ["item"], "title": "price_of", "type": "object"} |
| stock_of | How many units of an item are on the shelf. | {"description": "How many units of an item are on the shelf.", "properties": {"item": {"title": "Item", "type": "string"}}, "required": ["item"], "title": "stock_of", "type": "object"} |
| hours_of | The store's opening hours on a given day. | {"description": "The store's opening hours on a given day.", "properties": {"day": {"title": "Day", "type": "string"}}, "required": ["day"], "title": "hours_of", "type": "object"} |
| role | content | |
|---|---|---|
| [0] | ai | Milk is 1.20. |
| role | content | |
|---|---|---|
| [0] | system | You answer briefly and plainly. Use the tools you are given. |
| [1] | human | How much is milk? |
| tool | description | schema |
|---|---|---|
| price_of | The current shelf price of an item, in pounds. | {"description": "The current shelf price of an item, in pounds.", "properties": {"item": {"title": "Item", "type": "string"}}, "required": ["item"], "title": "price_of", "type": "object"} |
| stock_of | How many units of an item are on the shelf. | {"description": "How many units of an item are on the shelf.", "properties": {"item": {"title": "Item", "type": "string"}}, "required": ["item"], "title": "stock_of", "type": "object"} |
| hours_of | The store's opening hours on a given day. | {"description": "The store's opening hours on a given day.", "properties": {"day": {"title": "Day", "type": "string"}}, "required": ["day"], "title": "hours_of", "type": "object"} |
| accept | application/json |
| accept-encoding | gzip, deflate, zstd |
| authorization | not recorded |
| connection | keep-alive |
| content-length | 806 |
| content-type | application/json |
| host | api.deepseek.com |
| user-agent | OpenAI/Python 3.6.0 |
| x-stainless-arch | arm64 |
| x-stainless-async | false |
| x-stainless-lang | python |
| x-stainless-os | MacOS |
| x-stainless-package-version | 3.6.0 |
| x-stainless-raw-response | true |
| x-stainless-read-timeout | 60.0 |
| x-stainless-retry-count | 0 |
| x-stainless-runtime | CPython |
| x-stainless-runtime-version | 3.14.7 |
{
"messages": [
{
"content": "You answer briefly and plainly. Use the tools you are given.",
"role": "system"
},
{
"content": "How much is milk?",
"role": "user"
}
],
"model": "deepseek-flash",
"stream": false,
"tools": [
{
"type": "function",
"function": {
"name": "price_of",
"description": "The current shelf price of an item, in pounds.",
"parameters": {
"properties": {
"item": {
"type": "string"
}
},
"required": [
"item"
],
"type": "object"
}
}
},
{
"type": "function",
"function": {
"name": "stock_of",
"description": "How many units of an item are on the shelf.",
"parameters": {
"properties": {
"item": {
"type": "string"
}
},
"required": [
"item"
],
"type": "object"
}
}
},
{
"type": "function",
"function": {
"name": "hours_of",
"description": "The store's opening hours on a given day.",
"parameters": {
"properties": {
"day": {
"type": "string"
}
},
"required": [
"day"
],
"type": "object"
}
}
}
]
}| access-control-allow-credentials | true |
| connection | keep-alive |
| content-encoding | gzip |
| content-type | application/json |
| date | Sun, 13 Sep 2026 21:53:44 GMT |
| server | elb |
| strict-transport-security | max-age=31536000; includeSubDomains; preload |
| transfer-encoding | chunked |
| vary | origin, access-control-request-method, access-control-request-headers |
| via | 1.1 b1a94c3ca6429736112e2213a359c78a.cloudfront.net (CloudFront) |
| x-amz-cf-id | 417kOtVtPbcRivb3c5Qs6FfH1ILQ3bc85DV0-kfJTOhMWxNzQiJAyQ== |
| x-amz-cf-pop | DEN53-P3 |
| x-cache | Miss from cloudfront |
| x-content-type-options | nosniff |
| x-ds-trace-id | 61d9f3d0095f5515a3c2bfdefbab64f5 |
{
"id": "6cf2d570-cfd1-49f2-9618-eec85d3f3a16",
"object": "chat.completion",
"created": 1789336424,
"model": "deepseek-flash",
"choices": [
{
"index": 0,
"message": {
"role": "assistant",
"content": "",
"reasoning_content": "",
"tool_calls": [
{
"index": 0,
"id": "call_00_ET_UnZ82LD1XJbPKmUslQ656437",
"type": "function",
"function": {
"name": "price_of",
"arguments": "{\"item\": \"milk\"}"
}
}
]
},
"logprobs": null,
"finish_reason": "tool_calls"
}
],
"usage": {
"prompt_tokens": 411,
"completion_tokens": 39,
"total_tokens": 450,
"prompt_tokens_details": {
"cached_tokens": 256
},
"completion_tokens_details": {
"reasoning_tokens": 0
},
"prompt_cache_hit_tokens": 256,
"prompt_cache_miss_tokens": 155
},
"system_fingerprint": "aeb56401ca74e127821c4f9126dcb669"
}| role | content | |
|---|---|---|
| [0] | ai | price_of({"item": "milk"}) |
| role | content | |
|---|---|---|
| [0] | system | You answer briefly and plainly. Use the tools you are given. |
| [1] | human | How much is milk? |
| [2] | ai | price_of({"item": "milk"}) |
| [3] | tool | 1.20 for milk |
| tool | description | schema |
|---|---|---|
| price_of | The current shelf price of an item, in pounds. | {"description": "The current shelf price of an item, in pounds.", "properties": {"item": {"title": "Item", "type": "string"}}, "required": ["item"], "title": "price_of", "type": "object"} |
| stock_of | How many units of an item are on the shelf. | {"description": "How many units of an item are on the shelf.", "properties": {"item": {"title": "Item", "type": "string"}}, "required": ["item"], "title": "stock_of", "type": "object"} |
| hours_of | The store's opening hours on a given day. | {"description": "The store's opening hours on a given day.", "properties": {"day": {"title": "Day", "type": "string"}}, "required": ["day"], "title": "hours_of", "type": "object"} |
| accept | application/json |
| accept-encoding | gzip, deflate, zstd |
| authorization | not recorded |
| connection | keep-alive |
| content-length | 1081 |
| content-type | application/json |
| host | api.deepseek.com |
| user-agent | OpenAI/Python 3.6.0 |
| x-stainless-arch | arm64 |
| x-stainless-async | false |
| x-stainless-lang | python |
| x-stainless-os | MacOS |
| x-stainless-package-version | 3.6.0 |
| x-stainless-raw-response | true |
| x-stainless-read-timeout | 60.0 |
| x-stainless-retry-count | 0 |
| x-stainless-runtime | CPython |
| x-stainless-runtime-version | 3.14.7 |
{
"messages": [
{
"content": "You answer briefly and plainly. Use the tools you are given.",
"role": "system"
},
{
"content": "How much is milk?",
"role": "user"
},
{
"content": null,
"role": "assistant",
"tool_calls": [
{
"type": "function",
"id": "call_00_ET_UnZ82LD1XJbPKmUslQ656437",
"function": {
"name": "price_of",
"arguments": "{\"item\": \"milk\"}"
}
}
]
},
{
"content": "1.20 for milk",
"role": "tool",
"tool_call_id": "call_00_ET_UnZ82LD1XJbPKmUslQ656437"
}
],
"model": "deepseek-flash",
"stream": false,
"tools": [
{
"type": "function",
"function": {
"name": "price_of",
"description": "The current shelf price of an item, in pounds.",
"parameters": {
"properties": {
"item": {
"type": "string"
}
},
"required": [
"item"
],
"type": "object"
}
}
},
{
"type": "function",
"function": {
"name": "stock_of",
"description": "How many units of an item are on the shelf.",
"parameters": {
"properties": {
"item": {
"type": "string"
}
},
"required": [
"item"
],
"type": "object"
}
}
},
{
"type": "function",
"function": {
"name": "hours_of",
"description": "The store's opening hours on a given day.",
"parameters": {
"properties": {
"day": {
"type": "string"
}
},
"required": [
"day"
],
"type": "object"
}
}
}
]
}| access-control-allow-credentials | true |
| connection | keep-alive |
| content-encoding | gzip |
| content-type | application/json |
| date | Sun, 13 Sep 2026 21:53:45 GMT |
| server | elb |
| strict-transport-security | max-age=31536000; includeSubDomains; preload |
| transfer-encoding | chunked |
| vary | origin, access-control-request-method, access-control-request-headers |
| via | 1.1 3c8d0ab13267e31118fd28e835a3b4e4.cloudfront.net (CloudFront) |
| x-amz-cf-id | ri4n1bfRk2GDpK7umFyDeVA3yimLVwzcBlEL0K_mg7GqjT03TyCqPQ== |
| x-amz-cf-pop | DEN53-P6 |
| x-cache | Miss from cloudfront |
| x-content-type-options | nosniff |
| x-ds-trace-id | 9944baae2a18f7cc545b84b1fc41070b |
{
"id": "cafdb30e-05b9-4076-b863-a5c73d505a91",
"object": "chat.completion",
"created": 1789336425,
"model": "deepseek-flash",
"choices": [
{
"index": 0,
"message": {
"role": "assistant",
"content": "Milk is \u00a31.20.",
"reasoning_content": ""
},
"logprobs": null,
"finish_reason": "stop"
}
],
"usage": {
"prompt_tokens": 467,
"completion_tokens": 9,
"total_tokens": 476,
"prompt_tokens_details": {
"cached_tokens": 256
},
"completion_tokens_details": {
"reasoning_tokens": 0
},
"prompt_cache_hit_tokens": 256,
"prompt_cache_miss_tokens": 211
},
"system_fingerprint": "aeb56401ca74e127821c4f9126dcb669"
}| role | content | |
|---|---|---|
| [0] | ai | Milk is £1.20. |