OWL CLI Tool Inventory¶
This document describes the business tool capabilities that can be executed directly with the current OWL CLI, covering tool scope, permission types, CLI usage conventions, a tool overview, and categorized tool descriptions.
The visibility and execution results of tools depend on the permissions of the API Key corresponding to the current OWL_TOKEN. If the API Key lacks permission for the relevant resource or operation, the corresponding tool may fail or return empty results.
Note
This document only describes business tools that can be invoked directly via owl exec; it does not cover CLI commands themselves, such as owl init, owl login, owl sync, owl list, owl show, owl data list, and so on.
Tool Scope¶
The tools exposed by the OWL CLI evolve continuously with platform capabilities. The actual set of visible tools is determined by the tool catalog returned by owl list after running owl sync locally.
This document covers the following business categories:
| Category | Description |
|---|---|
catalog |
Unified resource catalog, entity types, entity details, and topology relationships |
dashboard |
Dashboard creation, replacement, and detail retrieval |
data |
DQL namespace discovery, log/metric/RUM/APM/Network/Profile/Billing data discovery, DQL documentation search, DQL validation, full query execution, asynchronous data forwarding queries, cross-workspace Trace queries within the same organization, and Profiling parsing |
errors |
Error Center issue querying and comment management |
event |
Event list querying and event detail retrieval |
incident |
Incident list and details, related event references, incident comments, operation logs, and on-call schedules |
infrastructure |
Unified Catalog resource querying |
llm |
LLM observability application list querying |
workspace |
Cross-workspace data query authorization scope discovery and current workspace member querying |
mdsearch |
Unified documentation search (search, document reading, catalog browsing) |
monitor |
Monitor querying, creation, updating, and external event reception |
nbook_note |
Querying, reading, creating, modifying, and deleting regular notes and Runbooks |
pipeline |
Pipeline list querying and sample validation |
Permission Types¶
| Permission Type | Meaning | Usage Recommendation |
|---|---|---|
| Read-only | Operations such as querying, listing, retrieving details, and sample validation that do not modify workspace resources | Suitable for daily troubleshooting and read-only automated execution |
| Write | Operations that modify workspace resources, such as creating, updating, adding comments, and receiving external events | Confirm parameters and impact scope before use in production environments |
| Local Helper | Auxiliary capabilities that do not modify workspace resources, such as local DQL documentation search and local syntax validation | Suitable for use before running formal queries |
CLI Usage Conventions¶
For authorized cross-workspace queries, when the target workspace is not yet determined, first call owl.workspace.data_authorized.list, then pass workspace_uuids and target_region to owl.data.query or owl.data.simple_query_file. Each query is limited to one target site; omitting the scope parameters queries the current workspace. List page numbers and data cursors are handled separately. See the Cross-Workspace Query Reference for details.
| Type | Convention |
|---|---|
| Tool synchronization | Run owl sync before first use or after platform tool updates |
| Category and tool browsing | Use owl category list, owl list, owl list -c <category> to browse the tool catalog |
| Viewing tool definitions | It is recommended to view parameter definitions with owl show <tool name> before execution |
| Tool execution | Use owl exec <tool name> [parameters] for tool execution |
| Parameter passing | Supports four styles: --key value, key=value, -p '<json>', and --stdin |
| Time range | Use 13-digit millisecond timestamps |
| Pagination parameters | Typically use page_size and page_index |
| Detail queries | Usually continue with identifiers returned by list tools, such as UUID, ID, and URN |
| Data queries | It is recommended to call discovery tools first to obtain source, field, tag, and index, then run the actual query |
| Data result files | When the tool output type is data, results are automatically written to the local data directory and can be viewed with owl data list and owl data show <file-id> |
Sampling Field in Data Result Files¶
When the tool output type is data, the CLI optionally includes a sample field in the execution result while writing the data file:
sample: a numeric value (floating point) indicating the sampling ratio of the query (for example,0.0077means approximately 0.77% sampling). It appears only when the backend returns sampling information or the sampling ratio can be parsed from the data file contents; when no sampling information is available, this field is omitted.- When
sampleis present, the results are estimated from sampled data. When interpreting aggregations such as counts or sums, restore the values by the sampling ratio before assessing magnitude.
Example CLI Commands:
owl sync
owl list
owl list -c data
owl show owl.data.query
owl exec owl.metric.list --mode source
owl exec owl.event.list --start_time 1712505600000 --end_time 1712592000000 --limit 20
Tool Overview¶
| Tool Set | Tool | Function | Permission |
|---|---|---|---|
catalog |
owl.catalog.entity_type_query |
Query the entity types supported by the Unified Catalog | Read-only |
catalog |
owl.catalog.entity_query |
Query a list of entities by entity type | Read-only |
catalog |
owl.catalog.entity_get |
Get details of a single entity by urn |
Read-only |
catalog |
owl.catalog.entity_topology_query |
Query the topology relationships associated with a single entity | Read-only |
catalog |
owl.catalog.all_topology_query |
Query global topology grouping results | Read-only |
dashboard |
owl.dashboard.create |
Create a dashboard | Write |
dashboard |
owl.dashboard.replace |
Replace the contents of an existing dashboard | Write |
dashboard |
owl.dashboard.get |
Get dashboard details | Read-only |
data |
owl.data.show_dql_namespace |
View the DQL namespace list and whether indexes are supported | Read-only |
data |
owl.data.query |
Execute a full DQL or PromQL query | Read-only |
data |
owl.data.simple_query_file |
Execute a query with simplified parameters such as namespace and time range, writing results to a data file; limit accepts 1-10000 |
Read-only |
data |
owl.data.same_org.trace.query |
Query Traces in the current workspace or workspaces within the same organization by trace_id |
Read-only |
data |
owl.data.search_dql_docs |
Search locally synced DQL documentation and example snippets | Local Helper |
data |
owl.data.check_dql |
Validate the syntax of a candidate DQL statement | Local Helper |
data |
owl.metric.list |
Discover source, fields, or tag keys available for metric queries |
Read-only |
data |
owl.rum.list |
Discover source or fields available for RUM queries |
Read-only |
data |
owl.apm.list |
Discover source or fields available for APM queries |
Read-only |
data |
owl.network.list |
Discover source or fields available for Network queries |
Read-only |
data |
owl.profile.list |
Discover source or fields available for Profile queries |
Read-only |
data |
owl.logging.list |
Discover source or fields available for log queries |
Read-only |
data |
owl.logging.cluster_task.create |
Create an asynchronous log clustering analysis task | Read-only |
data |
owl.logging.cluster_task.get |
Get the result of an asynchronous log clustering analysis task | Read-only |
data |
owl.data_forwarding.rule.list |
Discover the data forwarding rules queryable by the current account | Read-only |
data |
owl.data_forwarding.query.create |
Create an asynchronous query task for data forwarded to object storage | Read-only |
data |
owl.data_forwarding.query.get |
Query the status of an asynchronous data forwarding task and write desensitized results to a local data file | Read-only |
data |
owl.billing.list |
Discover source or fields available for Billing queries |
Read-only |
data |
owl.slo.list |
Query the SLO list of the current workspace | Read-only |
data |
owl.log_index.list |
List indexes available for log queries | Read-only |
data |
owl.log_index.get |
Query details of a single log index | Read-only |
data |
owl.field_schema.get |
Query the current field catalog | Read-only |
data |
owl.profiling.get_summary |
Query summary information of a Profiling record | Read-only |
data |
owl.profiling.parse |
Parse the detailed contents of a Profiling record | Read-only |
errors |
owl.errors.list |
Query the Error Center issue list | Read-only |
errors |
owl.errors.comment.add |
Add a comment to an error issue | Write |
errors |
owl.errors.comment.list |
Query the comment list of an error issue | Read-only |
errors |
owl.errors.comment.update |
Update an existing error comment | Write |
event |
owl.event.list |
Query a list of events | Read-only |
event |
owl.event.get |
Query details of a single event | Read-only |
incident |
owl.incident.list |
Query a list of incidents | Read-only |
incident |
owl.incident.get |
Query incident details and paginated related event references | Read-only |
incident |
owl.incident_comment.list |
Query a list of incident comments | Read-only |
incident |
owl.incident_comment.add |
Add a comment to an incident | Write |
incident |
owl.incident_operation.list |
Query incident operation logs | Read-only |
incident |
owl.incident_schedule.list |
Query a list of on-call schedules | Read-only |
incident |
owl.incident_schedule.get |
Query details of an on-call schedule | Read-only |
infrastructure |
owl.infrastructure.list |
Query a list of infrastructure objects | Read-only |
infrastructure |
owl.infrastructure.get |
Query details of a single infrastructure object | Read-only |
llm |
owl.llm.list |
Query a list of LLM applications | Read-only |
workspace |
owl.workspace.data_authorized.list |
Discover the workspaces authorized for querying from the current workspace, by site | Read-only |
workspace |
owl.workspace.member.list |
Query the member list of a workspace | Read-only |
mdsearch |
mdsearch_search |
Search the unified documentation library and return candidate documents | Local Helper |
mdsearch |
mdsearch_document |
Read the full contents of a single document by id or path |
Local Helper |
mdsearch |
mdsearch_catalog |
Browse the directory structure of the unified documentation library | Local Helper |
monitor |
owl.monitor.list |
Query a list of monitors | Read-only |
monitor |
owl.monitor.get |
Query monitor details | Read-only |
monitor |
owl.monitor.upsert |
Create or update a monitor | Write |
monitor |
owl.monitor.receive |
Send an external event | Write |
nbook_note |
owl.nbook_note.list |
Query basic information of regular notes and Runbooks visible to the current account | Read-only |
nbook_note |
owl.nbook_note.get |
Get note or Runbook details and Markdown contents | Read-only |
nbook_note |
owl.nbook_note.add |
Create a regular note or Runbook | Write |
nbook_note |
owl.nbook_note.modify |
Modify a regular note or Runbook | Write |
nbook_note |
owl.nbook_note.delete |
Delete a regular note or Runbook | Write |
pipeline |
owl.pipeline.list |
Query a list of Pipelines | Read-only |
pipeline |
owl.pipeline.validate |
Validate Pipeline processing results with sample data | Read-only |
Catalog¶
Used for entity type discovery, entity queries, entity detail retrieval, and topology relationship queries in the Unified Catalog.
| Tool Name | Function | Example Use | Key Parameters | Permission |
|---|---|---|---|---|
owl.catalog.entity_type_query |
Query the entity types supported by the Unified Catalog | List the entity types supported by the current Catalog | page_size, page_index |
Read-only |
owl.catalog.entity_query |
Query a list of entities by entity type | Query the Catalog entity list for the host type |
entity_type, page_size, page_index |
Read-only |
owl.catalog.entity_get |
Get details of a single entity by urn |
Query the entity details corresponding to this urn |
urn |
Read-only |
owl.catalog.entity_topology_query |
Query the topology relationships associated with a single entity | View the upstream and downstream topology of this host entity | urn |
Read-only |
owl.catalog.all_topology_query |
Query global topology grouping results | Query the global topology structure of the current Unified Catalog | None | Read-only |
Dashboard¶
Used for creating, replacing, and retrieving dashboards.
| Tool Name | Function | Example Use | Key Parameters | Permission |
|---|---|---|---|---|
owl.dashboard.create |
Create a dashboard | Create a dashboard named "APM Overview" | name, dashboard_json |
Write |
owl.dashboard.replace |
Replace the contents of an existing dashboard | Replace the specified dashboard with a new dashboard_json |
dashboard_uuid, dashboard_json |
Write |
owl.dashboard.get |
Get dashboard details | Query the complete configuration corresponding to this dashboard UUID | dashboard_uuid |
Read-only |
Data¶
Used for full data queries and query assistance, covering logs, metrics, RUM, APM, Network, Profile, Billing, and data forwarded to object storage.
| Tool Name | Function | Example Use | Key Parameters | Permission |
|---|---|---|---|---|
owl.data.show_dql_namespace |
List the currently supported DQL namespaces and indicate whether index is supported |
View which DQL namespaces are currently supported | None | Read-only |
owl.data.query |
Execute a full DQL or PromQL query | Query 500 errors in nginx logs from the last 1 hour | dql_namespace, start_time, end_time, query_mode, query_text, source, select, index, workspace_uuids, target_region |
Read-only |
owl.data.simple_query_file |
Execute a query with simplified parameters such as namespace and time range, writing results to a data file | Query logs directly by namespace and filter conditions without writing a full DQL, and write to a file | namespace, start_time, end_time, index, source, select_clause, where_clause, group_by_clause, limit, workspace_uuids, target_region |
Read-only |
owl.data.same_org.trace.query |
Query a Trace in the current workspace or workspaces within the same organization by trace_id |
Reconstruct a Trace spanning multiple workspaces in the same organization | trace_id, workspace_uuids, start_time, end_time, where_clause, source, limit |
Read-only |
owl.data.search_dql_docs |
Search locally synced DQL documentation and example snippets | Search for how to write percentile in DQL |
query, refresh_docs, limit |
Local Helper |
owl.data.check_dql |
Validate whether a candidate DQL statement is syntactically correct | Validate whether a manually written DQL is correct | query_text |
Local Helper |
owl.metric.list |
Discover source, fields, or tag keys available for metric queries |
List the measurements or tags available in the metrics domain | mode, source |
Read-only |
owl.rum.list |
Discover source or fields available for RUM queries |
List the fields available in the RUM domain | mode, source |
Read-only |
owl.apm.list |
Discover source or fields available for APM queries |
Query the sources available in the APM domain | mode, source |
Read-only |
owl.network.list |
Discover source or fields available for Network queries |
List the fields available in the Network domain | mode, source |
Read-only |
owl.profile.list |
Discover source or fields available for Profile queries |
View the sources available in the Profile domain | mode, source |
Read-only |
owl.logging.list |
Discover source or fields available for log queries |
List the sources available in the log domain | mode, source |
Read-only |
owl.logging.cluster_task.create |
Create an asynchronous log clustering analysis task that groups logs by similarity or fields | Cluster logs from a recent period by the specified field and return a task_id |
timeRange, analysisField, namespace, conditions, query, indexes |
Read-only |
owl.logging.cluster_task.get |
Get the result of an asynchronous log clustering analysis task | Retrieve clustering results using the task_id returned by cluster_task.create (task_status=ok indicates completion) |
task_id |
Read-only |
owl.data_forwarding.rule.list |
List the data forwarding rules readable by the current account. By default, only rules queryable via AIAPI are returned. | Discover the exact rule_name and confirm the rule is queryable before creating a query |
search, data_type, store_type, queryable_only, page_index, page_size |
Read-only |
owl.data_forwarding.query.create |
Create an asynchronous object storage query task for the specified data forwarding rule | Query error records forwarded by the data forwarding rule forward-rule within the specified time range and return a task_id |
rule_name, start_time, end_time, search, page_size, token |
Read-only |
owl.data_forwarding.query.get |
Get the status of an asynchronous data forwarding task and write the workspace-desensitized response to a local data file | Use the task_id returned by create to obtain the result file, then inspect task_status, items, and next_token in it |
task_id |
Read-only |
owl.billing.list |
Discover source or fields available for Billing queries |
List the fields available in the Billing domain | mode, source |
Read-only |
owl.slo.list |
Query the SLO list of the current workspace, optionally filtered by name or monitor UUID | List the SLOs of the current workspace | search |
Read-only |
owl.log_index.list |
List indexes available for log queries | List the current log indexes | None | Read-only |
owl.log_index.get |
Query details of a single log index | Query the details of this log index UUID | index_uuid |
Read-only |
owl.field_schema.get |
Query the current field catalog, used to complete query fields | List the currently available field catalog | None | Read-only |
owl.profiling.get_summary |
Query summary information of a Profiling record | View the summary information of this profile_id |
profile_id, timeRange |
Read-only |
owl.profiling.parse |
Parse the detailed contents of a Profiling record | Parse the detailed stack information of this Profiling record | profile_id, language, type, profile_start, profile_end |
Read-only |
The limit parameter of owl.data.simple_query_file is an optional integer with a range of 1 to 10000; when omitted, the backend uses a default value. Values outside the range are rejected before the request is executed.
Asynchronous Data Forwarding Queries¶
owl.data_forwarding.rule.list, owl.data_forwarding.query.create, and owl.data_forwarding.query.get are used to discover queryable rules and query data that has been written to object storage through a rule. These three tools are single atomic calls; the CLI does not automatically select a rule, poll a task, or continue querying the next batch. rule.list and query.create return text results directly; query.get has an outputType of data, and every status query writes a new local data file.
OWL CLI Only
Data forwarding query tools are available only through the OWL CLI and do not appear in the web-side Obsy Copilot or MCP tool catalog.
Complete a query in the following order:
- When the user has not provided an exact rule name, or it is not yet confirmed whether a rule is queryable, first call
owl.data_forwarding.rule.list. In query scenarios, keepqueryable_only=true, and selectrule_namefrom results wherequeryable=true; do not passrule_uuidtocreate. - Call
owl.data_forwarding.query.create, passing the selectedrule_name, query time range, and filter conditions as-is, and obtain thetask_id. - Use this
task_idto callowl.data_forwarding.query.get. The file object in its execution result does not include the data file ID: runowl data list -f json, find the corresponding entry, savefiles[].idas-is, then runowl data show <file-id>. Do not derive or guess the ID from the path. - Check
task_statusin the file. When the value iscreatedorrunning, the task is not yet complete; even ifitemsis empty, it cannot be treated as the final result. Continue callinggetlater with the sametask_id, then repeat the data file listing step to view the latest status. - Stop polling when
task_statusiscompletedorfailed. Whencompleted, read the desensitizeditems; whenfailed, troubleshoot based on the returned failure information. - When
completedandnext_tokenis not empty, callcreateagain to query the next batch. Keep the originalrule_name,start_time,end_time,search, andpage_sizeunchanged, and passnext_tokenastoken. The newcreatereturns a newtask_id.
Discovering queryable rules:
owl exec owl.data_forwarding.rule.list -p '{
"queryable_only": true,
"page_index": 1,
"page_size": 20
}'
Creating the first batch query task:
owl exec owl.data_forwarding.query.create -p '{
"rule_name": "forward-rule",
"start_time": 1784800000000,
"end_time": 1784886400000,
"search": {
"conditions": [
{
"key": "status",
"value": "error",
"logic": "match"
}
],
"operator": "and"
},
"page_size": 20
}'
Querying task status and results:
owl exec owl.data_forwarding.query.get -p '{"task_id":"task_xxx"}'
owl data list -f json
owl data show <file-id>
To query the next batch, reuse the original query parameters and pass in next_token:
owl exec owl.data_forwarding.query.create -p '{
"rule_name": "forward-rule",
"start_time": 1784800000000,
"end_time": 1784886400000,
"search": {
"conditions": [
{
"key": "status",
"value": "error",
"logic": "match"
}
],
"operator": "and"
},
"page_size": 20,
"token": "next_xxx"
}'
Parameters and limitations:
rule.listdefaults toqueryable_only=trueand returns only queryable rules. When set tofalse, rules that do not support querying are also returned. Determine the reason viaqueryableandunsupported_reason; do not continue callingcreateto query these rules.rule.listsupports fuzzy search of rule names viasearch, and filtering bydata_typeorstore_type; pagination is limited topage_index >= 1andpage_sizebetween 1 and 100.rule_namemust use the exact value returned byrule.listand cannot be replaced withrule_uuid. The data type and object storage configuration are determined by the backend based on the rule.start_timeandend_timeare 13-digit millisecond timestamps, andend_timemust be greater thanstart_time.- The query duration limit is determined by the workspace configuration, with a default of 24 hours;
query_time_limit_hoursin thecreateresponse is the currently effective limit. search.conditions[].logicsupports onlymatchandnotMatch; multiple conditions are combined viaandororinsearch.operator.page_sizeranges from 1 to 1000, with a default of 20.query.getdoes not print the full result directly to the CLI, and its returned file information does not include the ID; runowl data list -f json, save thefiles[].idof the corresponding entry as-is, then useowl data show <file-id>to view the task status and desensitized results.DF-API-KEYis automatically injected by the CLI and should not be passed as a tool parameter. This query is not supported in Free Plan workspaces.- S3, OSS, OBS, GCS, and TOS standard storage are supported; Kafka, platform built-in storage, cold storage, and archived data are not supported.
Same-Organization Cross-Workspace Trace Queries¶
owl.data.same_org.trace.query is a dedicated tool for querying Traces in the current workspace or workspaces within the same organization by trace_id. Call it directly for the current workspace without listing workspaces; when you need to query another workspace in the same organization and its UUID is not yet determined, run owl workspace same-org list to obtain candidate workspaces, then query:
trace_idis a required parameter; the server enforces this condition, so do not add it again inwhere_clause.workspace_uuidsis an optional array of strings; use theworkspace_uuidvalues from the list results.workspace_idis used only for list pagination and cannot be used for queries.- When
workspace_uuidsis omitted or passed as an empty array, only the workspace to which the current API Key belongs is queried. - When the same-organization cross-workspace query feature is disabled, only the current workspace can be queried; passing the UUID of another workspace returns a parameter error.
where_clauseaccepts only an additional DQL condition fragment, not including the outer braces.start_timeandend_timeuse 13-digit millisecond timestamps;sourceandlimitcan also be used to narrow the query scope.- The returned content retains the structure of the original DQL query results. Do not fall back to
owl.data.queryorowl.data.simple_query_filefor cross-workspace Trace queries.
owl workspace same-org list
owl exec owl.data.same_org.trace.query -p '{"trace_id":"TRACE-XXXX","workspace_uuids":["wksp_xxx"]}'
Errors¶
Used for querying the Error Center issue list, and for adding, querying, and updating comments.
| Tool Name | Function | Example Use | Key Parameters | Permission |
|---|---|---|---|---|
owl.errors.list |
Query the Error Center issue list | Query the error issue list from the last 24 hours | start_time, end_time, page_size, page_index, conditions, assigner, issue_status |
Read-only |
owl.errors.comment.add |
Add a comment to an error issue | Add a troubleshooting comment to this error issue | issue_id, comment, attachment_uuids, extend |
Write |
owl.errors.comment.list |
Query the comment list of an error issue | View the comment records of this error issue | issue_id, page_size, page_index |
Read-only |
owl.errors.comment.update |
Update an existing error comment | Update the contents of this error comment | comment_uuid, comment, attachment_uuids, extend |
Write |
Event¶
Used for event center list queries and event detail retrieval.
| Tool Name | Function | Example Use | Key Parameters | Permission |
|---|---|---|---|---|
owl.event.list |
Query a list of events | Query critical events from the last 1 hour | start_time, end_time, status, limit |
Read-only |
owl.event.get |
Query details of a single event, optionally limited to an event time range | Query the details of this event doc_id within the specified time range |
doc_id, timeRange |
Read-only |
owl.event.listrequiresstart_timeandend_time;statusacceptsfatal,critical,error,warning, andnodata;limitdefaults to 20 with a maximum of 100. Returned items may include the event dimension tag fielddf_dimension_tags.timeRangeofowl.event.getis an optional two-element array[start, end], where both elements are 13-digit millisecond timestamps andendmust be greater thanstart. The parameter name istimeRange; do not rename it totime_range.
Incident¶
owl.incident.get accepts an incident UUID (incident_*) and returns details along with related_event_refs. Related references default to 100 per page, with a maximum of 100; read subsequent pages via page_info.has_more and next_page_index, then call owl.event.get for each event reference. Do not treat the incident UUID as an event document ID. The total number of references may differ from the total number of events reported in the incident; preserve and explain the evidence of any discrepancies.
Used for incident list and details, related event references, incident comments, operation logs, and on-call schedule queries.
| Tool Name | Function | Example Use | Key Parameters | Permission |
|---|---|---|---|---|
owl.incident.list |
Query a list of incidents | Query all current incident tickets | search, page_size, page_index |
Read-only |
owl.incident.get |
Query incident details and paginated related event references | Get the incident source, occurrence time, and related events | incident_uuid, page_size, page_index |
Read-only |
owl.incident_comment.list |
Query the comment list of an incident | View the comment records of this incident ticket | incident_uuid |
Read-only |
owl.incident_comment.add |
Add a comment to an incident ticket | Add a progress update to this incident ticket | incident_uuid, comment |
Write |
owl.incident_operation.list |
Query incident operation logs | View the operation history of this incident ticket | incident_uuid, page_size, page_index |
Read-only |
owl.incident_schedule.list |
Query the on-call schedule list | Query the current on-call schedule list | search, page_size, page_index |
Read-only |
owl.incident_schedule.get |
Query on-call schedule details | Query the detailed configuration of this on-call schedule | schedule_uuid |
Read-only |
Infrastructure¶
Used for listing infrastructure objects and querying details, covering resource objects such as hosts, containers, and processes.
| Tool Name | Function | Example Use | Key Parameters | Permission |
|---|---|---|---|---|
owl.infrastructure.list |
Query a list of infrastructure objects | Query all current host objects | resource_type, limit, filters |
Read-only |
owl.infrastructure.get |
Query details of a single infrastructure object | Query the detailed information of this container object | resource_type, identity_value |
Read-only |
LLM¶
Used for querying the list of LLM observability applications.
| Tool Name | Function | Example Use | Key Parameters | Permission |
|---|---|---|---|---|
owl.llm.list |
Query a list of LLM applications | List all current LLM applications | search, type, page_size, page_index |
Read-only |
Workspace¶
Used for discovering the authorization scope of cross-workspace data queries, and for querying the current workspace member list with keyword search by name or email.
| Tool Name | Function | Example Use | Key Parameters | Permission |
|---|---|---|---|---|
owl.workspace.data_authorized.list |
List workspaces that have granted data query permissions to the current workspace | Confirm queryable workspaces before cross-workspace queries | region_code, search, page_index, page_size |
Read-only |
owl.workspace.member.list |
Query the workspace member list | Search for members whose email contains alice |
search |
Read-only |
owl.member.list is retained as a compatibility alias for explicit invocation and is not listed as a standalone tool; upgrade the CLI to a version that supports aliases, then run owl sync.
Monitor¶
Used for monitor list queries, detail retrieval, creation or updating, and external event reception.
| Tool Name | Function | Example Use | Key Parameters | Permission |
|---|---|---|---|---|
owl.monitor.list |
Query a list of monitors | Query currently enabled monitors | search, status_list |
Read-only |
owl.monitor.get |
Query monitor details | Query the complete configuration of this monitor rule | rule_uuid |
Read-only |
owl.monitor.upsert |
Create a monitor or update an existing monitor | Create a new external event monitor | json_script, rule_uuid, status, secret, alert_policy_uuids, tags |
Write |
owl.monitor.receive |
Send an external event to the receiver | Send a test event to this monitor | event, target, monitor, extra_data |
Write |
Notes and Runbooks¶
Used to manage the regular notes and Runbooks visible to the current API Key account. Regular notes are suitable for recording conclusions and reference information, while Runbooks are suitable for storing repeatable operating procedures.
| Tool Name | Function | Example Use | Key Parameters | Permission |
|---|---|---|---|---|
owl.nbook_note.list |
Query basic information of visible notes and Runbooks without returning Markdown contents | Filter content by type, title, body, or tags | page_index, page_size, search, tags, tagkv_query, type |
Read-only |
owl.nbook_note.get |
Get note or Runbook details and Markdown contents by note_uuid |
Read the full body of the specified content | note_uuid |
Read-only |
owl.nbook_note.add |
Create a regular note or Runbook and return basic information | Create a Markdown Runbook with tags | title, content, tags, tag_kv, type |
Write |
owl.nbook_note.modify |
Modify a note by note_uuid and return the updated basic information |
Update the note title, body, or tags | note_uuid, title, content, tags, tag_kv |
Write |
owl.nbook_note.delete |
Delete a note by note_uuid |
Delete the specified note | note_uuid |
Write |
page_indexofowl.nbook_note.listdefaults to 1;page_sizedefaults to 20 with a maximum of 100.typeofowl.nbook_note.listacceptsnormalandrunbook; when omitted, both types are returned.owl.nbook_note.getis the only tool that returns the Markdowncontent, but it does not returnpath,etag, orversion.list,add, andmodifyreturn only basic information such as title, type, and tags, and do not returncontent,path, ETag, or version information.deletereturns a minimal result of the deletion operation.owl.nbook_note.addrequirestitleandcontent;typeacceptsnormalandrunbook, and a regular note is created when omitted. This tool does not acceptpath.created_sourceis always set toaiby the server, and the creator account is taken from the current API Key.- In addition to
note_uuid,owl.nbook_note.modifyrequires at least one oftitle,content,tags, ortag_kv; whencontentis omitted, the original body is retained. - The content type cannot be changed after creation;
get,modify, anddeletedo not accepttype. To change the type, recreate the content with the target type. - Retrieval, modification, and deletion all use the
note_uuidreturned by the list. Do not pass backend-managed fields such aspath,etag,if_match,version,creator, orcreated_source. tagkv_queryis the TagKV expression string used by the list tool;tag_kvis the key-value object used by the create and modify tools. Do not mix them up.
Pipeline¶
Used for Pipeline list queries and sample validation.
| Tool Name | Function | Example Use | Key Parameters | Permission |
|---|---|---|---|---|
owl.pipeline.list |
Query a list of Pipelines and return the decoded contents | List Pipelines whose names contain nginx | search, scope, categories |
Read-only |
owl.pipeline.validate |
Validate Pipeline processing results with sample data | Use this log sample to validate whether this Pipeline parses correctly | content, testData, dataType |
Read-only |
mdsearch¶
Used for searching the unified documentation library, reading a single document, and browsing the catalog. Supports queries in Chinese, English, and mixed languages.
| Tool Name | Function | Example Use | Key Parameters | Permission |
|---|---|---|---|---|
mdsearch_search |
Search the unified documentation library and return ranked candidate documents | Search for the onboarding documentation of an integration | q, top, path_prefix, tags, mode, sort |
Local Helper |
mdsearch_document |
Read the full contents of a single document by id or path |
Read the complete contents of a document from the candidate results | id, meta |
Local Helper |
mdsearch_catalog |
Browse the top-level directories and representative documents of the unified documentation library | Understand the overall structure of the documentation library | None | Local Helper |
CLI Usage Workflows¶
Data Query Tasks¶
For tasks such as "query metric, log, RUM, APM, Network, Profile, or Billing data".
- First run
owl.data.show_dql_namespaceto confirm the target namespace; -
Call the discovery tool by data domain:
- Metrics:
owl.metric.list - RUM:
owl.rum.list - APM:
owl.apm.list - Network:
owl.network.list - Profile:
owl.profile.list - Logging:
owl.logging.list - Billing:
owl.billing.list - Log indexes:
owl.log_index.list - Field catalog:
owl.field_schema.get
- Metrics:
-
When DQL syntax needs to be confirmed, first call
owl.data.search_dql_docsto look up the documentation; - After writing a full DQL manually, first call
owl.data.check_dqlfor local validation; - Finally, call
owl.data.queryto run the actual query.
Profiling Analysis Tasks¶
For tasks such as "I already have a profile_id and want to view the summary or parse the detailed stack information".
- First locate the target
profile_idin the Profiling data domain viaowl.data.query; - Call
owl.profiling.get_summaryto get the summary information; - Reuse
language,type,profile_start, andprofile_endfrom the summary results, then callowl.profiling.parseto parse the detailed contents.
Incident Troubleshooting Tasks¶
For tasks such as "query incident tickets, track handling progress, or add comments".
- Call
owl.incident.getwhen the incident UUID is known; when the target is not yet determined, first callowl.incident.list. - Read all related event references based on the returned pagination information, then call
owl.event.getto get the event contents. - Use
owl.incident_comment.listto view comments andowl.incident_operation.listto view operation logs. - When a progress update is needed, call
owl.incident_comment.add.
Dashboard Management Tasks¶
For tasks such as "create a dashboard, replace dashboard contents, or view the configuration of an existing dashboard".
- Call
owl.dashboard.createto create a new dashboard; - Call
owl.dashboard.replaceto replace an existing dashboard; - Call
owl.dashboard.getto view the current configuration.
Note and Runbook Management Tasks¶
For tasks such as "search, read, create, modify, or delete regular notes and Runbooks".
- First call
owl.nbook_note.listto search for content and obtain anote_uuid; to narrow the scope, filter bytype=normalortype=runbook; - Call
owl.nbook_note.getwhen the Markdown contents need to be read; - Call
owl.nbook_note.addto create a note, usingtypeto createnormalorrunbook; callowl.nbook_note.modifyto update, and the type of an existing note cannot be changed; - Call
owl.nbook_note.deleteto delete. Before performing write operations, confirm the target note or Runbook and its impact scope.
Monitor Management Tasks¶
For tasks such as "view a monitor, create a monitor, update a monitor, or send a test event".
- First call
owl.monitor.listto browse the target monitors; - Call
owl.monitor.getwhen details are needed; - Call
owl.monitor.upsertto create or update; - Call
owl.monitor.receivewhen an external event needs to be sent to verify the receiving path.