| role | content | |
|---|---|---|
| [0] | human | Order 500 widgets. |
| tool | description | schema |
|---|---|---|
| place_order | Place an order for a quantity of an item. | {"description": "Place an order for a quantity of an item.", "properties": {"item": {"title": "Item", "type": "string"}, "quantity": {"title": "Quantity", "type": "integer"}}, "required": ["item", "quantity"], "title": "place_order", "type": "object"} |
| role | content | |
|---|---|---|
| [0] | ai | place_order({"item": "widget", "quantity": 500}) |
| role | content | |
|---|---|---|
| [0] | human | Order 500 widgets. |
| tool | description | schema |
|---|---|---|
| place_order | Place an order for a quantity of an item. | {"description": "Place an order for a quantity of an item.", "properties": {"item": {"title": "Item", "type": "string"}, "quantity": {"title": "Quantity", "type": "integer"}}, "required": ["item", "quantity"], "title": "place_order", "type": "object"} |
| role | content | |
|---|---|---|
| [0] | ai | place_order({"item": "widget", "quantity": 500}) |
| role | content | |
|---|---|---|
| [0] | human | Order 500 widgets. |
| tool | description | schema |
|---|---|---|
| place_order | Place an order for a quantity of an item. | {"description": "Place an order for a quantity of an item.", "properties": {"item": {"title": "Item", "type": "string"}, "quantity": {"title": "Quantity", "type": "integer"}}, "required": ["item", "quantity"], "title": "place_order", "type": "object"} |
| accept | application/json |
| accept-encoding | gzip, deflate, zstd |
| authorization | not recorded |
| connection | keep-alive |
| content-length | 355 |
| 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": "Order 500 widgets.",
"role": "user"
}
],
"model": "deepseek-flash",
"stream": false,
"tools": [
{
"type": "function",
"function": {
"name": "place_order",
"description": "Place an order for a quantity of an item.",
"parameters": {
"properties": {
"item": {
"type": "string"
},
"quantity": {
"type": "integer"
}
},
"required": [
"item",
"quantity"
],
"type": "object"
}
}
}
]
}| access-control-allow-credentials | true |
| connection | keep-alive |
| content-encoding | gzip |
| content-type | application/json |
| date | Sun, 13 Sep 2026 21:58:23 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 5d351175d5947d478733fbecdab866f6.cloudfront.net (CloudFront) |
| x-amz-cf-id | vmS6O1gGGByTk-TQZV_CTSIyBzF4J1kl9RTK2NIZbX4pKkE7sK85_Q== |
| x-amz-cf-pop | DEN52-P2 |
| x-cache | Miss from cloudfront |
| x-content-type-options | nosniff |
| x-ds-trace-id | bd994df396ed16f616b79ec97098cb15 |
{
"id": "8e350547-2dbe-41c9-b3e4-062f3fb77139",
"object": "chat.completion",
"created": 1789336703,
"model": "deepseek-flash",
"choices": [
{
"index": 0,
"message": {
"role": "assistant",
"content": "",
"reasoning_content": "The user wants to order 500 widgets. Simple task \u2014 place the order.",
"tool_calls": [
{
"index": 0,
"id": "call_00_Mg9Fy1KzPzegpu4Jzj0w3065",
"type": "function",
"function": {
"name": "place_order",
"arguments": "{\"item\": \"widgets\", \"quantity\": 500}"
}
}
]
},
"logprobs": null,
"finish_reason": "tool_calls"
}
],
"usage": {
"prompt_tokens": 308,
"completion_tokens": 71,
"total_tokens": 379,
"prompt_tokens_details": {
"cached_tokens": 128
},
"completion_tokens_details": {
"reasoning_tokens": 16
},
"prompt_cache_hit_tokens": 128,
"prompt_cache_miss_tokens": 180
},
"system_fingerprint": "aeb56401ca74e127821c4f9126dcb669"
}| role | content | |
|---|---|---|
| [0] | ai | place_order({"item": "widgets", "quantity": 500}) |
| role | content | |
|---|---|---|
| [0] | human | Order 500 widgets. |
| tool | description | schema |
|---|---|---|
| place_order | Place an order for a quantity of an item. | {"description": "Place an order for a quantity of an item.", "properties": {"item": {"title": "Item", "type": "string"}, "quantity": {"title": "Quantity", "type": "integer"}}, "required": ["item", "quantity"], "title": "place_order", "type": "object"} |
| accept | application/json |
| accept-encoding | gzip, deflate, zstd |
| authorization | not recorded |
| connection | keep-alive |
| content-length | 355 |
| 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": "Order 500 widgets.",
"role": "user"
}
],
"model": "deepseek-flash",
"stream": false,
"tools": [
{
"type": "function",
"function": {
"name": "place_order",
"description": "Place an order for a quantity of an item.",
"parameters": {
"properties": {
"item": {
"type": "string"
},
"quantity": {
"type": "integer"
}
},
"required": [
"item",
"quantity"
],
"type": "object"
}
}
}
]
}| access-control-allow-credentials | true |
| connection | keep-alive |
| content-encoding | gzip |
| content-type | application/json |
| date | Sun, 13 Sep 2026 21:58:24 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 64f15bfbd33a77e4a1cbe7d2b1e398e2.cloudfront.net (CloudFront) |
| x-amz-cf-id | O6HzcLcbJg2HfDEM0XuQi6ey-PR93XXYTFiE3ne88Y_zo92DE_IUFw== |
| x-amz-cf-pop | DEN53-P2 |
| x-cache | Miss from cloudfront |
| x-content-type-options | nosniff |
| x-ds-trace-id | 6dc4e691133e090712e3f3c322a062a2 |
{
"id": "2ca6b727-e713-4215-b50c-5ee4aa4babde",
"object": "chat.completion",
"created": 1789336704,
"model": "deepseek-flash",
"choices": [
{
"index": 0,
"message": {
"role": "assistant",
"content": "I'll place that order for you.",
"reasoning_content": "The user wants to order 500 widgets. That's a straightforward request. Let me place the order.",
"tool_calls": [
{
"index": 0,
"id": "call_00_JhK4NmlMPrU6z4whS3or8161",
"type": "function",
"function": {
"name": "place_order",
"arguments": "{\"item\": \"widgets\", \"quantity\": 500}"
}
}
]
},
"logprobs": null,
"finish_reason": "tool_calls"
}
],
"usage": {
"prompt_tokens": 308,
"completion_tokens": 83,
"total_tokens": 391,
"prompt_tokens_details": {
"cached_tokens": 128
},
"completion_tokens_details": {
"reasoning_tokens": 21
},
"prompt_cache_hit_tokens": 128,
"prompt_cache_miss_tokens": 180
},
"system_fingerprint": "aeb56401ca74e127821c4f9126dcb669"
}| role | content | |
|---|---|---|
| [0] | ai | I'll place that order for you. place_order({"item": "widgets", "quantity": 500}) |