mirror of
https://github.com/katanemo/plano.git
synced 2026-06-17 15:25:17 +02:00
65 lines
2 KiB
Python
65 lines
2 KiB
Python
tools = [
|
|
{
|
|
"name": "verify_address",
|
|
"description": "Verify the address",
|
|
"parameters": {
|
|
"type": "object",
|
|
"properties": {
|
|
"address": {"type": "str", "description": "The address to verify"}
|
|
},
|
|
"required": ["address"],
|
|
},
|
|
},
|
|
{
|
|
"name": "track_shipment",
|
|
"description": "Track the shipment",
|
|
"parameters": {
|
|
"type": "object",
|
|
"properties": {
|
|
"tracking_number": {
|
|
"type": "str",
|
|
"description": "The tracking number",
|
|
}
|
|
},
|
|
"required": ["tracking_number"],
|
|
},
|
|
},
|
|
{
|
|
"name": "generate_label",
|
|
"description": "Generate the shipping label",
|
|
"parameters": {
|
|
"type": "object",
|
|
"properties": {
|
|
"sender": {"type": "str", "description": "The address to ship from"},
|
|
"recipient": {
|
|
"type": "str",
|
|
"description": "The address to ship to",
|
|
},
|
|
"weight": {
|
|
"type": "int",
|
|
"description": "The weight of the package",
|
|
},
|
|
},
|
|
"required": ["sender", "recipient", "weight"],
|
|
},
|
|
},
|
|
{
|
|
"name": "calculate_shipping_rate",
|
|
"description": "Calculate the shipping rate",
|
|
"parameters": {
|
|
"type": "object",
|
|
"properties": {
|
|
"sender": {"type": "str", "description": "The address to ship from"},
|
|
"recipient": {
|
|
"type": "str",
|
|
"description": "The address to ship to",
|
|
},
|
|
"weight": {
|
|
"type": "int",
|
|
"description": "The weight of the package",
|
|
},
|
|
},
|
|
"required": ["sender", "recipient", "weight"],
|
|
},
|
|
},
|
|
]
|