Function Calls
Request approval for function execution
Create Function Call
Request approval to execute a function
Request Body
Show FunctionCall
Show FunctionCall
Unique identifier for the execution run
Unique identifier for this specific function call
Show FunctionCallSpec
Show FunctionCallSpec
Name of the function to execute
Arguments to pass to the function
Optional communication channel configuration
Show ContactChannel
Show ContactChannel
Show SlackContactChannel
Show SlackContactChannel
Show EmailContactChannel
Show EmailContactChannel
Email address
Optional context about the user for the LLM
Optional custom email subject line
Optional References message ID
Optional In-Reply-To message ID
Response
Show FunctionCall
Show FunctionCall
Unique identifier for the execution run
Unique identifier for this specific function call
Show FunctionCallSpec
Show FunctionCallSpec
Name of the function to execute
Arguments to pass to the function
Optional communication channel configuration
Show ContactChannel
Show ContactChannel
Show SlackContactChannel
Show SlackContactChannel
Show EmailContactChannel
Show EmailContactChannel
Email address
Optional context about the user for the LLM
Optional custom email subject line
Optional References message ID
Optional In-Reply-To message ID
Example Request
{
"run_id": "run_123",
"call_id": "call_456",
"spec": {
"fn": "send_email",
"kwargs": {
"to": "user@example.com",
"subject": "Hello"
},
"channel": {
"slack": {
"channel_or_user_id": "C123456",
"context_about_channel_or_user": "A channel w/ the SRE team"
}
}
}
}