createSpace
Create space
Details
- Method:
POST - Path:
/spaces - Operation ID:
createSpace
Parameters
{}Response Schema
{
"allOf": [
{
"$ref": "#/components/schemas/SpaceBulk"
},
{
"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('createSpace', {
# Add required parameters here
})