curl --request POST \
--url https://api.trychroma.com/api/v2/tenants/{tenant}/databases/{database}/collections/{collection_id}/functions/attach \
--header 'Content-Type: application/json' \
--header 'x-chroma-token: <api-key>' \
--data '
{
"function_id": "<string>",
"name": "<string>",
"output_collection": "<string>",
"params": "<unknown>"
}
'