curl --request POST \
--url https://api.sol.com/v1/ai/integrate \
--header 'Content-Type: application/json' \
--data '{
"model": "gpt-4",
"messages": [
{
"role": "user",
"content": "Draft an email welcoming Tara to the platform."
}
],
"tools": [
"create_email_draft"
],
"tool_choice": "auto"
}'