Function Calls
Request approval for function execution
Create Function Call
Request approval to execute a function
Request Body
Unique identifier for the execution run
Unique identifier for this specific function call
Name of the function to execute
Arguments to pass to the function
Optional communication channel configuration
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
Unique identifier for the execution run
Unique identifier for this specific function call
Name of the function to execute
Arguments to pass to the function
Optional communication channel configuration
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"
}
}
}
}