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
Slack channel or user ID (e.g. C123456 or U123456)
Optional context about the channel/user for the LLM
Optional custom Slack bot token
Optional flag for experimental Slack blocks
Phone number to send SMS to
Optional context about the user for the LLM
Phone number for WhatsApp
Optional context about the user for the LLM
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
Optional list of rejection reason options
Name of the response option
Optional display title
Optional description
Optional prompt fill text
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
Slack channel or user ID (e.g. C123456 or U123456)
Optional context about the channel/user for the LLM
Optional custom Slack bot token
Optional flag for experimental Slack blocks
Phone number to send SMS to
Optional context about the user for the LLM
Phone number for WhatsApp
Optional context about the user for the LLM
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
Optional list of rejection reason options
Name of the response option
Optional display title
Optional description
Optional prompt fill text
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"
}
}
}
}