callsUpdate
Updates information about a Call.
Details
- Method:
POST - Path:
/calls.update - Operation ID:
calls_update
Parameters
{
"token": {
"description": "Authentication token. Requires scope: `calls:write`",
"required": true,
"location": "header",
"type": "string"
},
"id": {
"description": "`id` returned by the [`calls.add`](/methods/calls.add) method.",
"required": true,
"location": "formData",
"type": "string"
},
"title": {
"description": "The name of the Call.",
"required": false,
"location": "formData",
"type": "string"
},
"join_url": {
"description": "The URL required for a client to join the Call.",
"required": false,
"location": "formData",
"type": "string"
},
"desktop_app_join_url": {
"description": "When supplied, available Slack clients will attempt to directly launch the 3rd-party Call with this URL.",
"required": false,
"location": "formData",
"type": "string"
}
}Response Schema
{
"additionalProperties": true,
"description": "This method either only returns a brief _OK_ response or a verbose schema is not available for this method.",
"properties": {
"ok": {
"enum": [
true
],
"title": "default success response",
"type": "boolean"
}
},
"required": [
"ok"
],
"title": "Default success template",
"type": "object"
}Usage
from ocp_agent import OCPAgent
agent = OCPAgent()
await agent.register_api('slack')
# Call this tool
result = await agent.call_tool('callsUpdate', {
# Add required parameters here
})