createDatabase
Create database
Details
- Method:
POST - Path:
/databases - Operation ID:
createDatabase
Parameters
{
"private": {
"description": "The database will be private. Only the user who creates this database will have permission to view and edit one.",
"required": false,
"location": "query",
"type": "boolean"
}
}Response Schema
{
"allOf": [
{
"$ref": "#/components/schemas/DatabaseSingle"
},
{
"type": "object",
"properties": {
"_links": {
"type": "object",
"properties": {
"base": {
"type": "string",
"description": "Base url of the Confluence site."
}
}
}
}
}
]
}Usage
from ocp_agent import OCPAgent
agent = OCPAgent()
await agent.register_api('confluence')
# Call this tool
result = await agent.call_tool('createDatabase', {
# Add required parameters here
})