Skip to content

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.0077 means 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 sample is 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:

  1. 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. Keep queryable_only=true for the query scenario, and select a rule_name from results with queryable=true; do not pass rule_uuid to create.
  2. Call owl.data_forwarding.query.create, passing the selected rule_name, query time range, and filter conditions as-is, and obtain the task_id.
  3. Use that task_id to call owl.data_forwarding.query.get. The file object in its execution result does not contain the data file ID: run owl data list -f json, find the corresponding entry, save files[].id as-is, then run owl data show <file-id>. Do not derive or guess the ID from the path.
  4. Check task_status in the file. If the value is created or running, the task is not yet complete; even if items is empty, it should not be treated as the final result. Continue to call get with the same task_id later, then repeat the data file list step to view the latest status.
  5. Stop polling when task_status is completed or failed. When completed, read the redacted items; when failed, troubleshoot based on the returned failure information.
  6. When completed and next_token is not empty, call create again to query the next batch. You must keep the original rule_name, start_time, end_time, search, and page_size, and pass next_token as the token parameter. The new create will return a new task_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.list defaults to queryable_only=true, returning only queryable rules. When set to false, it also returns rules that do not support queries; you should determine the reason via queryable and unsupported_reason and cannot continue to call create to query these rules.
  • rule.list supports fuzzy search for rule names via search, and can also filter by data_type or store_type; pagination range is page_index >= 1, page_size 1 to 100.
  • rule_name must use the exact value returned by rule.list and cannot be replaced with rule_uuid. Data type and object storage configuration are determined by the backend based on the rule.
  • start_time and end_time are 13-digit millisecond timestamps, and end_time must be greater than start_time.
  • The maximum query duration is determined by the workspace configuration, defaulting to 24 hours; query_time_limit_hours in the create response is the currently effective limit.
  • search.conditions[].logic only supports match and notMatch; multiple conditions are combined via search.operator using and or or.
  • page_size range is 1 to 1000, default 20.
  • query.get does not directly print the complete results to the CLI; its returned file information does not contain the ID. Run owl data list -f json, save the files[].id of the corresponding entry as-is, then use owl data show <file-id> to view the task status and redacted results.
  • DF-API-KEY is 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_id is a required parameter; the server will forcefully add this condition, so do not repeat it in where_clause.
  • workspace_uuids is an optional string array; use the workspace_uuid from the list results; workspace_id is only used for list pagination and cannot be used for queries.
  • When workspace_uuids is 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_clause only passes additional DQL condition fragments, without outer curly braces.
  • start_time and end_time use 13-digit millisecond timestamps; you can also narrow the query scope via source and limit.
  • The returned content retains the original DQL query result structure. Do not fall back to owl.data.query or owl.data.simple_query_file for 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.list must provide start_time and end_time; status optional values are fatal, critical, error, warning, and nodata; limit defaults to 20, maximum 100; returned items may include the event dimension tag field df_dimension_tags.
  • timeRange for owl.event.get is an optional two-element array [start, end], both elements are 13-digit millisecond timestamps, and end must be greater than start. The parameter name is timeRange, do not change it to time_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_index for owl.nbook_note.list defaults to 1, page_size defaults to 20, maximum 100.
  • type for owl.nbook_note.list optional values are normal and runbook; when omitted, both types are returned.
  • owl.nbook_note.get is the only tool that returns the Markdown body content, but does not return path, etag, or version; list, add, and modify only return basic information such as title, type, and tags, and also do not return content, path, ETag, or version information; delete returns a minimal result of the delete operation.
  • owl.nbook_note.add requires title and content; type optional values are normal and runbook, when omitted, a regular note is created. This tool does not accept path; created_source is always set to ai by the server, and the creator account is taken from the current API Key.
  • owl.nbook_note.modify must provide at least one of title, content, tags, or tag_kv in addition to note_uuid; when content is omitted, the original body is retained.
  • Content type cannot be changed after creation; get, modify, and delete do not accept type. To change the type, recreate it with the target type.
  • Getting, modifying, and deleting all use the note_uuid returned by the list. Do not pass fields managed by the backend such as path, etag, if_match, version, creator, or created_source.
  • tagkv_query is a TagKV expression string used by the list tool; tag_kv is 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".

  1. First, execute owl.data.show_dql_namespace to confirm the target namespace;
  2. 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
  3. When DQL syntax needs to be confirmed, first call owl.data.search_dql_docs to look up documentation;

  4. After writing a complete DQL, first call owl.data.check_dql for local validation;
  5. Finally, call owl.data.query to 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".

  1. First, locate the target profile_id in the Profiling data domain via owl.data.query;
  2. Call owl.profiling.get_summary to get summary information;
  3. Reuse the language, type, profile_start, profile_end from the summary result, then call owl.profiling.parse to parse the detailed content.

Incident Troubleshooting Problems

Applicable to problems such as "querying incidents, tracking the handling process, adding comments".

  1. If the incident UUID is known, call owl.incident.get; otherwise find it with owl.incident.list first.
  2. Read all pages of related event references, then call owl.event.get for event content.
  3. Use owl.incident_comment.list for comments and owl.incident_operation.list for operation records.
  4. Call owl.incident_comment.add when a progress update is needed.

Dashboard Management Problems

Applicable to problems such as "creating a dashboard, replacing dashboard content, viewing existing dashboard configuration".

  1. When creating a new dashboard, call owl.dashboard.create;
  2. When replacing an existing dashboard, call owl.dashboard.replace;
  3. 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".

  1. First, call owl.nbook_note.list to search for content and get the note_uuid; to narrow the scope, filter by type=normal or type=runbook;
  2. When needing to read the Markdown body, call owl.nbook_note.get;
  3. When creating a note, call owl.nbook_note.add, using type to create normal or runbook; when updating, call owl.nbook_note.modify; the type of an existing note cannot be changed;
  4. 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".

  1. First, call owl.monitor.list to browse the target monitors;
  2. When needing details, call owl.monitor.get;
  3. When creating or updating, call owl.monitor.upsert;
  4. When needing to send an external event to verify the receiving chain, call owl.monitor.receive.