Skip to content

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

  1. 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, keep queryable_only=true, and select rule_name from results where 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 this task_id to call owl.data_forwarding.query.get. The file object in its execution result does not include 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. When the value is created or running, the task is not yet complete; even if items is empty, it cannot be treated as the final result. Continue calling get later with the same task_id, then repeat the data file listing step to view the latest status.
  5. Stop polling when task_status is completed or failed. When completed, read the desensitized 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. Keep the original rule_name, start_time, end_time, search, and page_size unchanged, and pass next_token as token. The new create returns a new task_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.list defaults to queryable_only=true and returns only queryable rules. When set to false, rules that do not support querying are also returned. Determine the reason via queryable and unsupported_reason; do not continue calling create to query these rules.
  • rule.list supports fuzzy search of rule names via search, and filtering by data_type or store_type; pagination is limited to page_index >= 1 and page_size between 1 and 100.
  • rule_name must use the exact value returned by rule.list and cannot be replaced with rule_uuid. The 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 query duration limit is determined by the workspace configuration, with a default of 24 hours; query_time_limit_hours in the create response is the currently effective limit.
  • search.conditions[].logic supports only match and notMatch; multiple conditions are combined via and or or in search.operator.
  • page_size ranges from 1 to 1000, with a default of 20.
  • query.get does not print the full result directly to the CLI, and its returned file information does not include 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 desensitized results.
  • DF-API-KEY is 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_id is a required parameter; the server enforces this condition, so do not add it again in where_clause.
  • workspace_uuids is an optional array of strings; use the workspace_uuid values from the list results. workspace_id is used only for list pagination and cannot be used for queries.
  • When workspace_uuids is 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_clause accepts only an additional DQL condition fragment, not including the outer braces.
  • start_time and end_time use 13-digit millisecond timestamps; source and limit can 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.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, 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.list requires start_time and end_time; status accepts fatal, critical, error, warning, and nodata; limit defaults to 20 with a maximum of 100. Returned items may include the event dimension tag field df_dimension_tags.
  • timeRange of owl.event.get is an optional two-element array [start, end], where both elements are 13-digit millisecond timestamps and end must be greater than start. The parameter name is timeRange; do not rename it to time_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_index of owl.nbook_note.list defaults to 1; page_size defaults to 20 with a maximum of 100.
  • type of owl.nbook_note.list accepts normal and runbook; when omitted, both types are returned.
  • owl.nbook_note.get is the only tool that returns the Markdown content, but it does not return path, etag, or version. list, add, and modify return only basic information such as title, type, and tags, and do not return content, path, ETag, or version information. delete returns a minimal result of the deletion operation.
  • owl.nbook_note.add requires title and content; type accepts normal and runbook, and a regular note is created when omitted. 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.
  • In addition to note_uuid, owl.nbook_note.modify requires at least one of title, content, tags, or tag_kv; when content is omitted, the original body is retained.
  • The content type cannot be changed after creation; get, modify, and delete do not accept type. To change the type, recreate the content with the target type.
  • Retrieval, modification, and deletion all use the note_uuid returned by the list. Do not pass backend-managed fields such as path, etag, if_match, version, creator, or created_source.
  • tagkv_query is the TagKV expression string used by the list tool; tag_kv is 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".

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

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

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

Incident Troubleshooting Tasks

For tasks such as "query incident tickets, track handling progress, or add comments".

  1. Call owl.incident.get when the incident UUID is known; when the target is not yet determined, first call owl.incident.list.
  2. Read all related event references based on the returned pagination information, then call owl.event.get to get the event contents.
  3. Use owl.incident_comment.list to view comments and owl.incident_operation.list to view operation logs.
  4. 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".

  1. Call owl.dashboard.create to create a new dashboard;
  2. Call owl.dashboard.replace to replace an existing dashboard;
  3. Call owl.dashboard.get to view the current configuration.

Note and Runbook Management Tasks

For tasks such as "search, read, create, modify, or delete regular notes and Runbooks".

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

  1. First call owl.monitor.list to browse the target monitors;
  2. Call owl.monitor.get when details are needed;
  3. Call owl.monitor.upsert to create or update;
  4. Call owl.monitor.receive when an external event needs to be sent to verify the receiving path.

Feedback

Is this page helpful?