{ "contents": [ { "role": "user", "parts": [{"text": "Hello! Can you help me with coding?"}] }, { "role": "model", "parts": [{"text": "Hello! I'd be happy to help you with coding..."}] }, { "role": "user", "parts": [{"text": "I need help with Python functions"}] } ]}
{ "tools": [ { "function_declarations": [ { "name": "get_weather", "description": "Get the current weather for a location", "parameters": { "type": "object", "properties": { "location": { "type": "string", "description": "The city and state, e.g. San Francisco, CA" } }, "required": ["location"] } } ] } ]}