pinsRemove
Un-pins an item from a channel.
Details
- Method:
POST - Path:
/pins.remove - Operation ID:
pins_remove
Parameters
{
"token": {
"description": "Authentication token. Requires scope: `pins:write`",
"required": true,
"location": "header",
"type": "string"
},
"channel": {
"description": "Channel where the item is pinned to.",
"required": true,
"location": "formData",
"type": "string"
},
"timestamp": {
"description": "Timestamp of the message to un-pin.",
"required": false,
"location": "formData",
"type": "string"
}
}Response Schema
{
"additionalProperties": false,
"description": "Schema for successful response from pins.remove method",
"properties": {
"ok": {
"enum": [
true
],
"title": "default success response",
"type": "boolean"
}
},
"required": [
"ok"
],
"title": "pins.remove schema",
"type": "object"
}Usage
from ocp_agent import OCPAgent
agent = OCPAgent()
await agent.register_api('slack')
# Call this tool
result = await agent.call_tool('pinsRemove', {
# Add required parameters here
})