filesRemoteRemove
Remove a remote file.
Details
- Method:
POST - Path:
/files.remote.remove - Operation ID:
files_remote_remove
Parameters
{
"token": {
"description": "Authentication token. Requires scope: `remote_files:write`",
"required": false,
"location": "formData",
"type": "string"
},
"file": {
"description": "Specify a file by providing its ID.",
"required": false,
"location": "formData",
"type": "string"
},
"external_id": {
"description": "Creator defined GUID for the file.",
"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('filesRemoteRemove', {
# Add required parameters here
})