Open Context Protocol is live! 🚀 Read the launch post

createSmartLink

Create Smart Link in the content tree

Details

  • Method: POST
  • Path: /embeds
  • Operation ID: createSmartLink

Parameters

{}

Response Schema

{
  "allOf": [
    {
      "$ref": "#/components/schemas/SmartLinkSingle"
    },
    {
      "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('createSmartLink', {
    # Add required parameters here
})