mirror of
https://github.com/Sea-Haven-Industries/open-swe.git
synced 2026-09-30 06:53:14 +00:00
16 lines
405 B
Python
16 lines
405 B
Python
|
|
from typing import Any
|
||
|
|
|
||
|
|
from ..utils.confluence import search
|
||
|
|
|
||
|
|
|
||
|
|
async def confluence_search(cql: str) -> dict[str, Any]:
|
||
|
|
"""Search Confluence content using CQL (Confluence Query Language).
|
||
|
|
|
||
|
|
Args:
|
||
|
|
cql: A CQL query string (e.g. 'space = "IT" AND title ~ "Architecture"').
|
||
|
|
|
||
|
|
Returns:
|
||
|
|
Dictionary with 'results' (list of {id, title, type, url}).
|
||
|
|
"""
|
||
|
|
return await search(cql)
|