create_address
Create a new shipping address in the address book. Provide required fields like name, phone, street, city, state, zip code, address type, and category.
Instructions
在地址簿中新建地址
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"first_name": "<first_name>",
"last_name": "<last_name>",
"phone": "<phone>",
"street": "<street>",
"city": "<city>",
"state": "<state>",
"zip_code": "<zip_code>",
"address_type": "<address_type>",
"address_category": "<address_category>"
},
"name": "create_address"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| first_name | Yes | 名 | |
| last_name | Yes | 姓 | |
| company_name | No | 公司名 | |
| No | 邮箱 | ||
| phone | Yes | 电话(必填,不能为空) | |
| street | Yes | 地址行1 | |
| street2 | No | 地址行2 | |
| city | Yes | 城市 | |
| state | Yes | 州/省 | |
| zip_code | Yes | 邮编 | |
| country | No | 国家代码 | US |
| address_type | Yes | 地址类型:residential(居住区) / commercial(商业区) | |
| address_category | Yes | 地址分类:ship_from(发件地址)/ ship_to(收件地址) |