OWL CLI Tool Inventory¶
This document describes the business tool capabilities currently available for direct execution through OWL CLI, including tool scope, permission types, CLI usage conventions, tool overview, and tool descriptions organized by category.
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 does not have the necessary resource or operation permissions, the corresponding tool may fail or return empty results.
Note
This document only describes business tools that can be directly invoked 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, etc.
Tool Scope¶
The tools exposed by OWL CLI are continuously updated with the platform's capabilities. The actual visible tools are determined by the tool directory 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 exploration, log/metric/RUM/APM/Network/Profile/Billing data discovery, DQL documentation queries, DQL validation, complete queries, data forwarding asynchronous queries, cross-workspace Trace queries within the same organization, and Profiling parsing |
errors |
Error center issue queries and comment management |
event |
Event list queries and event detail retrieval |
incident |
Incident lists and details, event references, comments, operation records, and on-call schedules |
infrastructure |
Unified catalog resource queries |
llm |
LLM observability application list queries |
workspace |
Authorized cross-workspace data discovery and current workspace members |
mdsearch |
Unified document search (search, document reading, catalog browsing) |
monitor |
Monitor queries, creation, updates, and external event reception |
nbook_note |
Regular notes and Runbook queries, reading, creation, modification, and deletion |
pipeline |
Pipeline list queries and sample validation |
Permission Types¶
| Permission Type | Description | Usage Recommendation |
|---|---|---|
| Read-only | Operations that do not modify workspace resources, such as queries, lists, detail retrieval, and sample validation | Suitable for daily troubleshooting and automated read-only execution |
| Write | Operations that modify workspace resources, such as creation, updates, adding comments, and receiving external events | Recommended to confirm parameters and impact scope before use in production environments |
| Local Helper | Local capabilities that do not modify workspace resources, such as local DQL documentation retrieval and local syntax validation | Suitable for use before executing formal queries |
CLI Usage Conventions¶
| Type | Convention |
|---|---|
| Tool Sync | Run owl sync first before first use or after platform tool updates |
| Category and Tool Browsing | Use owl category list, owl list, or owl list -c <category> to browse the tool directory |
| View Tool Definition | It is recommended to use owl show <tool name> to view parameter definitions before execution |
| Tool Execution | Execute tools uniformly using owl exec <tool name> [parameters] |
| Parameter Passing | Supports four methods: --key value, key=value, -p '<json>', and --stdin |
| Time Range | Use 13-digit millisecond timestamps uniformly |
| Pagination Parameters | Typically use page_size and page_index |
| Detail Queries | Typically rely on identifiers such as UUID, ID, URN returned by list tools for further queries |
| Data Queries | It is recommended to first call discovery tools to obtain source, field, tag, index, then execute the formal query |
| Data Result Files | When the tool output type is data, the results are automatically written to the local data directory, which can be viewed using 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 numerical value (float), indicating the sampling ratio of this query (for example,0.0077means approximately 0.77% sampling). This field appears only when the backend returns sampling information or the sampling ratio can be parsed from the data file content; if no sampling information is available, this field is omitted.- When
sampleis present, it means the results are estimated based on sampled data. When interpreting aggregations such as counts or sums, you need to adjust based on the sampling ratio before assessing the magnitude.
Common CLI command examples:
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 entity types supported by the unified catalog | Read-only |
catalog |
owl.catalog.entity_query |
Query entity list by entity type | Read-only |
catalog |
owl.catalog.entity_get |
Get single entity details by urn |
Read-only |
catalog |
owl.catalog.entity_topology_query |
Query 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 content of an existing dashboard | Write |
dashboard |
owl.dashboard.get |
Get dashboard details | Read-only |
data |
owl.data.show_dql_namespace |
View DQL namespace list and whether indices are supported | Read-only |
data |
owl.data.query |
Execute a complete DQL or PromQL query | Read-only |
data |
owl.data.simple_query_file |
Execute a query with simplified parameters like namespace and time range, and write results to a data file; limit range 1-10000 |
Read-only |
data |
owl.data.same_org.trace.query |
Query a Trace by trace_id in the current or same-organization workspace |
Read-only |
data |
owl.data.search_dql_docs |
Query locally synchronized 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 available source, fields, or tag keys for metric queries |
Read-only |
data |
owl.rum.list |
Discover available source or fields for RUM queries |
Read-only |
data |
owl.apm.list |
Discover available source or fields for APM queries |
Read-only |
data |
owl.network.list |
Discover available source or fields for Network queries |
Read-only |
data |
owl.profile.list |
Discover available source or fields for Profile queries |
Read-only |
data |
owl.logging.list |
Discover available source or fields for log queries |
Read-only |
data |
owl.logging.cluster_task.create |
Create a log clustering asynchronous analysis task | Read-only |
data |
owl.logging.cluster_task.get |
Get the result of a log clustering asynchronous analysis task | Read-only |
data |
owl.data_forwarding.rule.list |
Discover data forwarding rules queryable by the current account | Read-only |
data |
owl.data_forwarding.query.create |
Create an object storage data forwarding asynchronous query task | Read-only |
data |
owl.data_forwarding.query.get |
Query the status of a data forwarding asynchronous task; redacted results written to a local data file | Read-only |
data |
owl.billing.list |
Discover available source or fields 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 available indices 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 detailed content of a Profiling record | Read-only |
errors |
owl.errors.list |
Query 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 comment list for an error issue | Read-only |
errors |
owl.errors.comment.update |
Update an existing error comment | Write |
event |
owl.event.list |
Query event list | Read-only |
event |
owl.event.get |
Query details of a single event | Read-only |
incident |
owl.incident.list |
Query incident list | Read-only |
incident |
owl.incident.get |
Get incident details and paginated event references | Read-only |
incident |
owl.incident_comment.list |
Query incident comment list | Read-only |
incident |
owl.incident_comment.add |
Add a comment to an incident | Write |
incident |
owl.incident_operation.list |
Query incident operation records | Read-only |
incident |
owl.incident_schedule.list |
Query on-call schedule list | Read-only |
incident |
owl.incident_schedule.get |
Query on-call schedule details | Read-only |
infrastructure |
owl.infrastructure.list |
Query infrastructure object list | Read-only |
infrastructure |
owl.infrastructure.get |
Query details of a single infrastructure object | Read-only |
llm |
owl.llm.list |
Query LLM application list | Read-only |
workspace |
owl.workspace.data_authorized.list |
List authorized query workspaces by site | Read-only |
workspace |
owl.workspace.member.list |
Query workspace member list | Read-only |
mdsearch |
mdsearch_search |
Search the unified document library and return candidate documents | Local Helper |
mdsearch |
mdsearch_document |
Read the full text of a single document by id or path |
Local Helper |
mdsearch |
mdsearch_catalog |
Browse the directory structure of the unified document library | Local Helper |
monitor |
owl.monitor.list |
Query monitor list | 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 body | 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 Pipeline list | 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 resource catalog.
| Tool Name | Function | Example Use Case | Key Parameters | Permission |
|---|---|---|---|---|
owl.catalog.entity_type_query |
Query entity types supported by the unified catalog | List entity types currently supported by the Catalog | page_size, page_index |
Read-only |
owl.catalog.entity_query |
Query entity list by entity type | Query the Catalog entity list of type host |
entity_type, page_size, page_index |
Read-only |
owl.catalog.entity_get |
Get single entity details by urn |
Query entity details for this urn |
urn |
Read-only |
owl.catalog.entity_topology_query |
Query topology relationships associated with a single entity | View the upstream/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 dashboard creation, replacement, and detail retrieval.
| Tool Name | Function | Example Use Case | Key Parameters | Permission |
|---|---|---|---|---|
owl.dashboard.create |
Create a dashboard | Create a dashboard named "APM Overview" | name, dashboard_json |
Write |
owl.dashboard.replace |
Replace content of an existing dashboard | Replace the specified dashboard with new dashboard_json |
dashboard_uuid, dashboard_json |
Write |
owl.dashboard.get |
Get dashboard details | Query the full configuration of this dashboard UUID | dashboard_uuid |
Read-only |
Data¶
For authorized cross-workspace DQL queries, discover targets with owl.workspace.data_authorized.list when needed, then pass workspace_uuids and target_region. Each query targets one site; omitting scope parameters queries the current workspace. See cross-workspace queries for CLI/MCP examples and pagination.
Used for complete data queries and query assistance, covering logs, metrics, RUM, APM, Network, Profile, Billing, and data forwarded to object storage.
| Tool Name | Function | Example Use Case | Key Parameters | Permission |
|---|---|---|---|---|
owl.data.show_dql_namespace |
List 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 complete DQL or PromQL query | Query nginx log 500 errors in 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 like namespace and time range, and write results to a data file | Query logs directly by namespace and filter conditions and write to a file without writing a full DQL | 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 by trace_id in the current or same-organization workspace |
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 |
Query locally synchronized DQL documentation and example snippets | Search for the syntax of percentile in DQL |
query, refresh_docs, limit |
Local Helper |
owl.data.check_dql |
Validate the syntax of a candidate DQL statement | Validate whether a hand-written DQL is correct | query_text |
Local Helper |
owl.metric.list |
Discover available source, fields, or tag keys for metric queries |
List available measurements or tags in the metric domain | mode, source |
Read-only |
owl.rum.list |
Discover available source or fields for RUM queries |
List available fields in the RUM domain | mode, source |
Read-only |
owl.apm.list |
Discover available source or fields for APM queries |
Query available sources in the APM domain | mode, source |
Read-only |
owl.network.list |
Discover available source or fields for Network queries |
List available fields in the Network domain | mode, source |
Read-only |
owl.profile.list |
Discover available source or fields for Profile queries |
View available sources in the Profile domain | mode, source |
Read-only |
owl.logging.list |
Discover available source or fields for log queries |
List available sources in the log domain | mode, source |
Read-only |
owl.logging.cluster_task.create |
Create a log clustering asynchronous analysis task, grouping similar logs or fields | Cluster logs from a recent period by specified field, returns task_id |
timeRange, analysisField, namespace, conditions, query, indexes |
Read-only |
owl.logging.cluster_task.get |
Get the result of a log clustering asynchronous analysis task | Use the task_id returned by cluster_task.create to retrieve clustering results (task_status=ok indicates completion) |
task_id |
Read-only |
owl.data_forwarding.rule.list |
List data forwarding rules readable by the current account, defaults to returning only rules queryable via AIAPI | 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 object storage asynchronous query task for a specified data forwarding rule | Query error records forwarded by the forward-rule within a specified time range, returns task_id |
rule_name, start_time, end_time, search, page_size, token |
Read-only |
owl.data_forwarding.query.get |
Get the status of a data forwarding asynchronous task and write the redacted response to a local data file | Use the task_id returned by create to retrieve the result file, then check task_status, items, and next_token |
task_id |
Read-only |
owl.billing.list |
Discover available source or fields for Billing queries |
List available fields in the Billing domain | mode, source |
Read-only |
owl.slo.list |
Query the SLO list of the current workspace, can be filtered by name or monitor UUID | List SLOs of the current workspace | search |
Read-only |
owl.log_index.list |
List available indices for log queries | List current log indices | None | Read-only |
owl.log_index.get |
Query details of a single log index | Query details of this log index UUID | index_uuid |
Read-only |
owl.field_schema.get |
Query the current field catalog for completing query fields | List currently available field catalog | None | Read-only |
owl.profiling.get_summary |
Query summary information of a Profiling record | View summary information for this profile_id |
profile_id, timeRange |
Read-only |
owl.profiling.parse |
Parse detailed content of a Profiling record | Parse detailed stack information of this Profiling record | profile_id, language, type, profile_start, profile_end |
Read-only |
limit for owl.data.simple_query_file is an optional integer, range 1 to 10000; when omitted, the backend uses a default value. Values outside this range will be rejected before the request is executed.
Data Forwarding Asynchronous 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 via rules. These three tools are single atomic calls; the CLI does not automatically select rules, poll tasks, or continue querying the next batch of data. rule.list and query.create directly return text results; query.get has an outputType of data, and each status query writes a new local data file.
OWL CLI Only
Data forwarding query tools are only available via OWL CLI and will not appear in the Web TOBY AI TruePilot or MCP tool directory.
Complete a query in the following order:
- If the user does not have an exact rule name or it is not confirmed whether the rule is queryable, first call
owl.data_forwarding.rule.list. Keepqueryable_only=truefor the query scenario, and select arule_namefrom results withqueryable=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 that
task_idto callowl.data_forwarding.query.get. The file object in its execution result does not contain 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. If the value iscreatedorrunning, the task is not yet complete; even ifitemsis empty, it should not be treated as the final result. Continue to callgetwith the sametask_idlater, then repeat the data file list step to view the latest status. - Stop polling when
task_statusiscompletedorfailed. Whencompleted, read the redacteditems; whenfailed, troubleshoot based on the returned failure information. - When
completedandnext_tokenis not empty, callcreateagain to query the next batch. You must keep the originalrule_name,start_time,end_time,search, andpage_size, and passnext_tokenas thetokenparameter. The newcreatewill return a newtask_id.
Discover queryable rules:
owl exec owl.data_forwarding.rule.list -p '{
"queryable_only": true,
"page_index": 1,
"page_size": 20
}'
Create 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
}'
Query task status and results:
owl exec owl.data_forwarding.query.get -p '{"task_id":"task_xxx"}'
owl data list -f json
owl data show <saved-file-id>
Query the next batch, reusing the original query parameters and passing 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=true, returning only queryable rules. When set tofalse, it also returns rules that do not support queries; you should determine the reason viaqueryableandunsupported_reasonand cannot continue to callcreateto query these rules.rule.listsupports fuzzy search for rule names viasearch, and can also filter bydata_typeorstore_type; pagination range ispage_index >= 1,page_size1 to 100.rule_namemust use the exact value returned byrule.listand cannot be replaced withrule_uuid. 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 maximum query duration is determined by the workspace configuration, defaulting to 24 hours;
query_time_limit_hoursin thecreateresponse is the currently effective limit. search.conditions[].logiconly supportsmatchandnotMatch; multiple conditions are combined viasearch.operatorusingandoror.page_sizerange is 1 to 1000, default 20.query.getdoes not directly print the complete results to the CLI; its returned file information does not contain 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 redacted results.DF-API-KEYis automatically injected by the CLI and should not be passed as a tool parameter. Free Plan workspaces do not support this query.- Supports S3, OSS, OBS, GCS, and TOS standard storage; does not support Kafka, platform built-in storage, cold storage, or archive data.
Cross-Workspace Trace Query within the Same Organization¶
Query the current workspace directly. For other workspaces in the same organization, discover candidates with owl.account.workspace.same_org.list (CLI: owl workspace same-org list) only when target UUIDs are unknown. Pass returned workspace_uuid values to owl.data.same_org.trace.query; workspace_id is only for list pagination.
trace_idis a required parameter; the server will forcefully add this condition, so do not repeat it inwhere_clause.workspace_uuidsis an optional string array; use theworkspace_uuidfrom the list results;workspace_idis only used for list pagination and cannot be used for queries.- When
workspace_uuidsis omitted or an empty array, only the workspace to which the current API Key belongs is queried. - When the cross-workspace query feature within the same organization is disabled, only the current workspace can be queried; passing UUIDs of other workspaces will return a parameter error.
where_clauseonly passes additional DQL condition fragments, without outer curly braces.start_timeandend_timeuse 13-digit millisecond timestamps; you can also narrow the query scope viasourceandlimit.- The returned content retains the original DQL query result structure. 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, as well as adding, querying, and updating comments.
| Tool Name | Function | Example Use Case | Key Parameters | Permission |
|---|---|---|---|---|
owl.errors.list |
Query error center issue list | Query error issues 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 comment list for an error issue | View comment records for this error issue | issue_id, page_size, page_index |
Read-only |
owl.errors.comment.update |
Update an existing error comment | Update the content of this error comment | comment_uuid, comment, attachment_uuids, extend |
Write |
Event¶
Used for querying the event center list and retrieving event details.
| Tool Name | Function | Example Use Case | Key Parameters | Permission |
|---|---|---|---|---|
owl.event.list |
Query event list | 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, can limit the event time range | Query details of this event doc_id within a specified time range |
doc_id, timeRange |
Read-only |
owl.event.listmust providestart_timeandend_time;statusoptional values arefatal,critical,error,warning, andnodata;limitdefaults to 20, maximum 100; returned items may include the event dimension tag fielddf_dimension_tags.timeRangeforowl.event.getis an optional two-element array[start, end], both elements are 13-digit millisecond timestamps, andendmust be greater thanstart. The parameter name istimeRange, do not change it totime_range.
Incident¶
owl.incident.get accepts an incident UUID (incident_*) and returns details with related_event_refs. The default and maximum page size are both 100. Follow page_info.has_more and next_page_index, then call owl.event.get using event references, not the incident UUID. The available reference count can differ from the incident-reported event count; report any missing evidence.
| Tool Name | Function | Example Use Case | Key Parameters | Permission |
|---|---|---|---|---|
owl.incident.list |
Query incident list | Query all current incidents | search, page_size, page_index |
Read-only |
owl.incident.get |
Get incident details and paginated event references | Get the incident source, occurrence time, and related events | incident_uuid, page_size, page_index |
Read-only |
owl.incident_comment.list |
Query incident comment list | View comment records for this incident | incident_uuid |
Read-only |
owl.incident_comment.add |
Add a comment to an incident | Add a progress update comment to this incident | incident_uuid, comment |
Write |
owl.incident_operation.list |
Query incident operation records | View operation history for this incident | incident_uuid, page_size, page_index |
Read-only |
owl.incident_schedule.list |
Query on-call schedule list | Query current on-call schedule list | search, page_size, page_index |
Read-only |
owl.incident_schedule.get |
Query on-call schedule details | Query detailed configuration of this on-call schedule | schedule_uuid |
Read-only |
Infrastructure¶
Used for querying the infrastructure object list and details, covering resource objects such as hosts, containers, and processes.
| Tool Name | Function | Example Use Case | Key Parameters | Permission |
|---|---|---|---|---|
owl.infrastructure.list |
Query infrastructure object list | Query all current host objects | resource_type, limit, filters |
Read-only |
owl.infrastructure.get |
Query details of a single infrastructure object | Query detailed information of this container object | resource_type, identity_value |
Read-only |
LLM¶
Used for querying the LLM observability application list.
| Tool Name | Function | Example Use Case | Key Parameters | Permission |
|---|---|---|---|---|
owl.llm.list |
Query LLM application list | List all current LLM applications | search, type, page_size, page_index |
Read-only |
Workspace¶
Authorized cross-workspace data discovery and current workspace members.
The new workspace category contains owl.workspace.data_authorized.list and owl.workspace.member.list. The old member category is removed. owl.member.list remains a callable alias with the same parameters and permission checks, but is not listed as a separate tool.
| Tool Name | Function | Example Use Case | Key Parameters | Permission |
|---|---|---|---|---|
owl.workspace.data_authorized.list |
List authorized query workspaces by site | Confirm the available workspaces before a cross-workspace query | region_code, search, page_index, page_size |
Read-only |
owl.workspace.member.list |
Query workspace member list | Search for members with email containing alice |
search |
Read-only |
Monitor¶
Used for querying the monitor list, retrieving details, creating or updating monitors, and receiving external events.
| Tool Name | Function | Example Use Case | Key Parameters | Permission |
|---|---|---|---|---|
owl.monitor.list |
Query monitor list | Query currently enabled monitors | search, status_list |
Read-only |
owl.monitor.get |
Query monitor details | Query the full configuration of this monitor rule | rule_uuid |
Read-only |
owl.monitor.upsert |
Create or update a 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 for managing 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 reusable operational procedures.
| Tool Name | Function | Example Use Case | Key Parameters | Permission |
|---|---|---|---|---|
owl.nbook_note.list |
Query visible notes and Runbook basic information; does not return Markdown body | 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 body 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 updated basic information |
Update 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_indexforowl.nbook_note.listdefaults to 1,page_sizedefaults to 20, maximum 100.typeforowl.nbook_note.listoptional values arenormalandrunbook; when omitted, both types are returned.owl.nbook_note.getis the only tool that returns the Markdown bodycontent, but does not returnpath,etag, orversion;list,add, andmodifyonly return basic information such as title, type, and tags, and also do not returncontent,path, ETag, or version information;deletereturns a minimal result of the delete operation.owl.nbook_note.addrequirestitleandcontent;typeoptional values arenormalandrunbook, when omitted, a regular note is created. This tool does not acceptpath;created_sourceis always set toaiby the server, and the creator account is taken from the current API Key.owl.nbook_note.modifymust provide at least one oftitle,content,tags, ortag_kvin addition tonote_uuid; whencontentis omitted, the original body is retained.- Content type cannot be changed after creation;
get,modify, anddeletedo not accepttype. To change the type, recreate it with the target type. - Getting, modifying, and deleting all use the
note_uuidreturned by the list. Do not pass fields managed by the backend such aspath,etag,if_match,version,creator, orcreated_source. tagkv_queryis a TagKV expression string used by the list tool;tag_kvis a key-value object used by the create and modify tools; do not confuse them.
Pipeline¶
Used for querying the Pipeline list and validating samples.
| Tool Name | Function | Example Use Case | Key Parameters | Permission |
|---|---|---|---|---|
owl.pipeline.list |
Query Pipeline list and return decoded content | List Pipelines with names containing nginx | search, scope, categories |
Read-only |
owl.pipeline.validate |
Validate Pipeline processing results with sample data | Validate whether this Pipeline can correctly parse this log sample | content, testData, dataType |
Read-only |
mdsearch¶
Used for searching the unified document library, reading single documents, and browsing the catalog, supporting queries in Chinese, English, and mixed languages.
| Tool Name | Function | Example Use Case | Key Parameters | Permission |
|---|---|---|---|---|
mdsearch_search |
Search the unified document library and return sorted candidate documents | Search for integration setup documentation | q, top, path_prefix, tags, mode, sort |
Local Helper |
mdsearch_document |
Read the full text of a single document by id or path |
Read the full content of a document from candidate results | id, meta |
Local Helper |
mdsearch_catalog |
Browse the top-level directory and representative documents of the unified document library | Understand the overall structure of the document library | None | Local Helper |
CLI Usage Paths¶
Data Query Problems¶
Applicable to problems such as "querying metrics, logs, RUM, APM, Network, Profile, Billing data".
- First, execute
owl.data.show_dql_namespaceto confirm the target namespace; -
Call discovery tools 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 indices:
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 documentation; - After writing a complete DQL, first call
owl.data.check_dqlfor local validation; - Finally, call
owl.data.queryto execute the formal query.
Profiling Analysis Problems¶
Applicable to problems such as "already have a profile_id, want to view the summary or parse detailed stack information".
- First, locate the target
profile_idin the Profiling data domain viaowl.data.query; - Call
owl.profiling.get_summaryto get summary information; - Reuse the
language,type,profile_start,profile_endfrom the summary result, then callowl.profiling.parseto parse the detailed content.
Incident Troubleshooting Problems¶
Applicable to problems such as "querying incidents, tracking the handling process, adding comments".
- If the incident UUID is known, call
owl.incident.get; otherwise find it withowl.incident.listfirst. - Read all pages of related event references, then call
owl.event.getfor event content. - Use
owl.incident_comment.listfor comments andowl.incident_operation.listfor operation records. - Call
owl.incident_comment.addwhen a progress update is needed.
Dashboard Management Problems¶
Applicable to problems such as "creating a dashboard, replacing dashboard content, viewing existing dashboard configuration".
- When creating a new dashboard, call
owl.dashboard.create; - When replacing an existing dashboard, call
owl.dashboard.replace; - When needing to view the current configuration, call
owl.dashboard.get.
Note and Runbook Management Problems¶
Applicable to problems such as "searching, reading, creating, modifying, or deleting regular notes and Runbooks".
- First, call
owl.nbook_note.listto search for content and get thenote_uuid; to narrow the scope, filter bytype=normalortype=runbook; - When needing to read the Markdown body, call
owl.nbook_note.get; - When creating a note, call
owl.nbook_note.add, usingtypeto createnormalorrunbook; when updating, callowl.nbook_note.modify; the type of an existing note cannot be changed; - When deleting, call
owl.nbook_note.delete; before performing write operations, confirm the target note or Runbook and its impact scope.
Monitor Management Problems¶
Applicable to problems such as "viewing monitors, creating monitors, updating monitors, sending test events".
- First, call
owl.monitor.listto browse the target monitors; - When needing details, call
owl.monitor.get; - When creating or updating, call
owl.monitor.upsert; - When needing to send an external event to verify the receiving chain, call
owl.monitor.receive.