Skip to content

OWL CLI Tool Inventory


This document describes the business tool capabilities that OWL CLI can execute directly, including 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 associated with the current OWL_TOKEN. If the API Key lacks the required resource or operation permissions, the corresponding tool may fail to execute or return empty results.

Note

This document only describes business tools that can be invoked directly via owl exec. CLI commands themselves, such as owl init, owl login, owl sync, owl list, owl show, and owl data list, are not covered.

Tool Scope

The tools exposed by OWL CLI are continuously updated along with platform capabilities. The actual visible tools are determined by the tool catalog returned by owl list after you run 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 lookup; DQL validation; full queries; data forwarding async queries; cross-workspace Trace queries within the same organization; and Profiling parsing
errors Error issue queries and comment management
event Event list queries and event detail retrieval
incident Incident list and details, related event references, incident comments, operation records, and on-call schedules
infrastructure Unified catalog resource queries
llm LLM observability application list queries
workspace Cross-workspace data query authorization scope discovery and current workspace member queries
mdsearch Unified documentation search (search, document read, and catalog browsing)
monitor Monitor query, creation, update, and external event receiving
nbook_note Querying, reading, creating, modifying, and deleting regular notes and Runbooks
pipeline Pipeline list queries and sample validation

Permission Types

Permission Type Description Recommendation
Read-only Operations that do not modify workspace resources, such as queries, list retrieval, detail lookups, and sample validation Suitable for daily troubleshooting and automated read-only execution
Write Operations that modify workspace resources, such as creating, updating, appending comments, and receiving external events Before using in production, confirm the parameters and scope of impact first
Local helper Local capabilities that do not modify workspace resources, such as local DQL documentation lookup and local syntax validation Suitable for use before running formal queries

CLI Usage Conventions

For authorized cross-workspace queries, when the target has not been determined, call owl.workspace.data_authorized.list first, 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; when scope parameters are omitted, the current workspace is queried. List page numbers and data cursors are handled separately. For details, see Cross-Workspace Query Guide.

Type Convention
Tool sync Run owl sync on first use or after platform tools are updated
Category and tool browsing Use owl category list, owl list, and owl list -c <category> to browse the tool catalog
View tool definitions Before execution, run owl show <tool name> to view parameter definitions
Tool execution Use owl exec <tool name> [parameters] to execute tools
Parameter passing Four methods are supported: --key value, key=value, -p '<json>', and --stdin
Time range Use 13-digit millisecond timestamps
Pagination parameters Use page_size and page_index
Detail queries Continue with identifiers such as UUID, ID, and URN returned by list tools
Data queries Call discovery tools first to obtain source, field, tag, and index, then run the formal 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>

Sample Field in Data Result Files

When the tool output type is data, the CLI writes the data file and may optionally include a sample field in the execution result:

  • sample: a numeric value (float) indicating the sampling ratio of this 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 returned, the result is estimated from sampled data. When interpreting aggregations such as counts and sums, restore the values according to 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 the entity types supported by the unified catalog Read-only
catalog owl.catalog.entity_query Query entity lists by entity type Read-only
catalog owl.catalog.entity_get Get a single entity's 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 the content 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 Run full DQL or PromQL queries Read-only
data owl.data.simple_query_file Run queries with simplified parameters such as namespace + time range and write results to a data file; limit ranges from 1 to 10000 Read-only
data owl.external_datasource.list Discover external data sources accessible to the current workspace Read-only
data owl.external_datasource.query Run restricted read-only SQL against configured external data sources Read-only
data owl.data.same_org.trace.query Query a Trace by trace_id in the current workspace or in workspaces of the same organization Read-only
data owl.data.search_dql_docs Search locally synchronized DQL documentation and example snippets Local helper
data owl.data.check_dql Validate the syntax of candidate DQL statements 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 a log clustering async analysis task Read-only
data owl.logging.cluster_task.get Get the result of a log clustering async 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 async query task Read-only
data owl.data_forwarding.query.get Query the status of a data forwarding async task and write the desensitized result 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 Get 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 issue list of the error center 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 event lists Read-only
event owl.event.get Get details of a single event Read-only
incident owl.incident.list Query incident lists Read-only
incident owl.incident.get Get incident details and paginated related event references Read-only
incident owl.incident_comment.list Query incident comment lists Read-only
incident owl.incident_comment.add Add a comment to an incident ticket Write
incident owl.incident_operation.list Query incident operation records Read-only
incident owl.incident_schedule.list Query on-call schedule lists Read-only
incident owl.incident_schedule.get Get on-call schedule details Read-only
infrastructure owl.infrastructure.list Query infrastructure object lists Read-only
infrastructure owl.infrastructure.get Get details of a single infrastructure object Read-only
llm owl.llm.list Query LLM application lists Read-only
workspace owl.workspace.data_authorized.list Discover the authorized query workspaces for the current workspace by site Read-only
workspace owl.workspace.member.list Query workspace member lists Read-only
mdsearch mdsearch_search Search the unified documentation 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 documentation library Local helper
monitor owl.monitor.list Query monitor lists Read-only
monitor owl.monitor.get Get monitor details Read-only
monitor owl.monitor.upsert Create or update a monitor Write
monitor owl.monitor.receive Send external events 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 lists 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 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 entity lists by entity type Query the Catalog entity list of type host entity_type, page_size, page_index Read-only
owl.catalog.entity_get Get a single entity's details by urn Query the entity details corresponding to this urn urn Read-only
owl.catalog.entity_topology_query Query 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 details of 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 content 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 full configuration corresponding to this dashboard UUID dashboard_uuid Read-only

Data

As of v1.5.0, owl.metric/rum/apm/network/profile/logging/billing.list and owl.infrastructure.list/get require 13-digit millisecond start_time / end_time values, and the time window must not exceed 7 days. The time range for owl.llm.list is optional; when both are omitted, the last 24 hours are used.

The dql_namespace returned by owl.data.show_dql_namespace is a query alias, not the backend raw type name. Pass it to dql_namespace when calling owl.data.query; when calling simple query or log clustering tools, pass the same value as-is to namespace.

Used for full data queries and query assistance, covering logs, metrics, RUM, APM, Network, Profile, Billing, configured external data sources, and data forwarded to object storage.

For external data source queries, first use list to discover the data source by datasource_id or name, then pass the datasource_uuid of the unique result as-is to query. datasource_id cannot replace UUID. Raw row queries must include a deterministic ORDER BY and an SQL LIMIT, and truncated=true only indicates partial results. The statement type must follow the capabilities.statement_types returned by list.

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 Run full DQL or PromQL queries Query 500 errors in the nginx logs from the last 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 Run queries with simplified parameters such as namespace + time range and write results to a data file Query logs by namespace and filter conditions without writing full DQL manually, then 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.external_datasource.list Discover external data sources accessible and queryable from the current workspace Find a configured external data source named orders keyword, source_type, page_index, page_size Read-only
owl.external_datasource.query Run a single restricted read-only SQL against a configured external data source Query the most recent 20 orders in the orders data source datasource_uuid, sql, timeout_seconds, max_rows Read-only
owl.data.same_org.trace.query Query a Trace by trace_id in the current workspace or in workspaces of the same organization 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 synchronized DQL documentation and example snippets Search for how percentile is written in DQL query, refresh_docs, limit Local helper
owl.data.check_dql Validate whether a candidate DQL statement conforms to the syntax Validate whether a handwritten DQL is correct query_text Local helper
owl.metric.list Discover source, fields, or tag keys available for metric queries List measurements or tags available in the metric domain mode, source, start_time, end_time Read-only
owl.rum.list Discover source or fields available for RUM queries List the fields available in the RUM domain mode, source, start_time, end_time Read-only
owl.apm.list Discover source or fields available for APM queries Query the sources available in the APM domain mode, source, start_time, end_time Read-only
owl.network.list Discover source or fields available for Network queries List the fields available in the Network domain mode, source, start_time, end_time Read-only
owl.profile.list Discover source or fields available for Profile queries View the sources available in the Profile domain mode, source, start_time, end_time Read-only
owl.logging.list Discover source or fields available for log queries List the sources available in the log domain mode, source, start_time, end_time Read-only
owl.logging.cluster_task.create Create a log clustering async analysis task that groups similar logs or fields Cluster logs from a recent period by the specified field and return task_id timeRange, analysisField, namespace, conditions, query, indexes Read-only
owl.logging.cluster_task.get Get the result of a log clustering async analysis task Pull clustering results with the task_id returned by cluster_task.create (task_status=ok indicates completion) task_id Read-only
owl.data_forwarding.rule.list List data forwarding rules readable by the current account; by default, only rules queryable through 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 object storage async 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 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 async task and write the desensitized workspace response to a local data file Use the task_id returned by create to get the result file, then check 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, start_time, end_time Read-only
owl.slo.list Query the SLO list of the current workspace; can be searched 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 Get 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 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 of owl.data.simple_query_file is an optional integer ranging from 1 to 10000; when omitted, the backend uses the default value. Values outside this range are rejected before the request is executed.

Data Forwarding Async 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 already written to object storage through those 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 return text results directly; query.get has an outputType of data and writes a new local data file on each status query.

OWL CLI Only

The data forwarding query tools are available only through OWL CLI and do not appear in the Web TOBY AI TruePilot or MCP tool catalog.

Complete a query in the following order:

  1. When the user has not provided an exact rule name, or when it has not yet been confirmed whether a rule is queryable, call owl.data_forwarding.rule.list first. Keep queryable_only=true in query scenarios, select rule_name from results with queryable=true, and 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, and then run owl data show <file-id>. Do not infer 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 complete yet; even if items is empty, it cannot be treated as the final result. Continue calling get with the same task_id later, then repeat the data file listing steps 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, and pass next_token as token. The new create call returns 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 of query tasks:

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 <保存的文件-ID>

When querying 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; use queryable and unsupported_reason to determine the reason and do not call create to query those rules.
  • rule.list supports fuzzy search on rule names via search and filtering by data_type or store_type. Pagination ranges are page_index >= 1 and page_size from 1 to 100.
  • rule_name must use the exact value returned by rule.list and cannot be replaced by rule_uuid. The data type and object storage configuration are determined by the backend according to 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 and defaults to 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 and defaults to 20.
  • query.get does not print the full result directly to the CLI, and the file information it returns does not include the ID. Run owl data list -f json, save the files[].id of the corresponding entry as-is, and then view the task status and desensitized results with owl data show <file-id>.
  • DF-API-KEY is automatically injected by the CLI and should not be passed as a tool parameter.
  • S3, OSS, OBS, GCS, and TOS standard storage are supported; Kafka, platform built-in storage, cold storage, and archived data are not supported.

Cross-Workspace Trace Queries Within the Same Organization

owl.data.same_org.trace.query is a dedicated tool for querying a Trace by trace_id in the current workspace or in workspaces of the same organization. Call it directly in the current workspace without listing workspaces. When you need to query other workspaces in the same organization and the UUID has not been determined, run owl workspace same-org list to get candidate workspaces before querying:

  • trace_id is a required parameter. The server forcibly adds this condition, so do not add it again in where_clause.
  • workspace_uuids is an optional string array; use the workspace_uuid from list results as values. workspace_id is only used for list pagination and cannot be used for querying.
  • When workspace_uuids is omitted or an empty array is passed, 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 returns a parameter error.
  • where_clause accepts only additional DQL condition fragments and does not include outer curly braces.
  • start_time and end_time use 13-digit millisecond timestamps. You can also narrow the query scope with source and limit.
  • The returned content preserves the structure of the original DQL query result. 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 issue list in the error center, and for adding, querying, and updating comments.

Tool Name Function Example Use Key Parameters Permission
owl.errors.list Query the issue list of the error center 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 under an error issue View the comment history of 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 event center list queries and event detail retrieval.

Tool Name Function Example Use Key Parameters Permission
owl.event.list Query event lists Query critical events from the last hour start_time, end_time, status, limit Read-only
owl.event.get Get details of a single event; the event time range can be limited 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. The valid values for status are fatal, critical, error, warning, and nodata. limit defaults to 20 and has a maximum of 100. Returned items may include the event dimension tag field df_dimension_tags.
  • The timeRange of 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 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, which is also the maximum. Read subsequent pages using page_info.has_more and next_page_index, then call owl.event.get based on the event references. 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 by the incident; preserve and explain any missing evidence.

Used for incident list and detail queries, related event references, incident comments, operation records, and on-call schedules.

Tool Name Function Example Use Key Parameters Permission
owl.incident.list Query incident lists Query all current incident tickets search, page_size, page_index Read-only
owl.incident.get Get 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 incident comment lists View the comment history 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 records View the operation history of this incident ticket incident_uuid, page_size, page_index Read-only
owl.incident_schedule.list Query on-call schedule lists Query the current on-call schedule list search, page_size, page_index Read-only
owl.incident_schedule.get Get on-call schedule details Query the detailed configuration of this on-call schedule schedule_uuid Read-only

Infrastructure

Used for infrastructure object list and detail queries, covering resource objects such as hosts, containers, and processes.

Tool Name Function Example Use Key Parameters Permission
owl.infrastructure.list Query infrastructure object lists Query all current host objects resource_type, limit, filters, start_time, end_time Read-only
owl.infrastructure.get Get details of a single infrastructure object Query the detailed information of this container object resource_type, identity_value, start_time, end_time Read-only

LLM

Used for LLM observability application list queries.

Tool Name Function Example Use Key Parameters Permission
owl.llm.list Query LLM application lists List all current LLM applications search, type, page_size, page_index, start_time, end_time Read-only

Workspace

Used for discovering the authorization scope for cross-workspace data queries, and for querying the current workspace member list and searching by name or email keywords.

Tool Name Function Example Use Key Parameters Permission
owl.workspace.data_authorized.list List the workspaces that grant 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 workspace member lists 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 update, and external event receiving.

Tool Name Function Example Use Key Parameters Permission
owl.monitor.list Query monitor lists Query currently enabled monitors search, status_list Read-only
owl.monitor.get Get monitor details Query the full 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 external events to the receiving endpoint Send a test event to this monitor event, target, monitor, extra_data Write

Notes and Runbooks

Used to manage 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 operational procedures.

Tool Name Function Example Use Key Parameters Permission
owl.nbook_note.list Query basic information of visible notes and Runbooks; does not return the 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 tagged Markdown Runbook title, content, tags, tag_kv, type Write
owl.nbook_note.modify Modify a note by note_uuid and return 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
  • For owl.nbook_note.list, page_index defaults to 1, and page_size defaults to 20 with a maximum of 100.
  • The valid values for type in owl.nbook_note.list 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 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 concise result of the deletion operation.
  • owl.nbook_note.add requires title and content. The valid values for type 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.
  • Besides 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 preserved.
  • The content type cannot be modified after creation; get, modify, and delete do not accept type. To change the type, create the content again with the target type.
  • Get, modify, and delete operations all use the note_uuid returned by 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 the Pipeline list and return decoded content 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 verify 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. Chinese, English, and mixed-language queries are supported.

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 text of a single document by id or path Read the complete content of a document in 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 Paths

Data Query Problems

Applies to questions such as "querying metric, log, RUM, APM, Network, Profile, and Billing data".

  1. First run owl.data.show_dql_namespace to confirm the target namespace.
  2. Then 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 indexes: owl.log_index.list
    • Field catalog: owl.field_schema.get
  3. When you need to confirm DQL syntax, call owl.data.search_dql_docs first to look up the documentation.

  4. After writing a full DQL, call owl.data.check_dql first for local validation.
  5. Finally, call owl.data.query to run the formal query.

Profiling Analysis Problems

Applies to questions such as "I already have a profile_id and want to view the summary or parse detailed stack information".

  1. First locate the target profile_id in the Profiling data domain using 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 result, then call owl.profiling.parse to parse the detailed contents.

Incident Troubleshooting Problems

Applies to questions such as "querying incident tickets, tracking the handling process, and adding comments".

  1. When the incident UUID is known, call owl.incident.get; when the target has not been determined, call owl.incident.list first.
  2. Read all related event references according to the returned pagination information, then call owl.event.get to get the event content.
  3. Use owl.incident_comment.list to view comments and owl.incident_operation.list to view operation records.
  4. When you need to add handling progress, call owl.incident_comment.add.

Dashboard Management Problems

Applies to questions such as "creating dashboards, replacing dashboard content, and viewing existing dashboard configurations".

  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 when you need to view the current configuration.

Note and Runbook Management Problems

Applies to questions such as "searching, reading, creating, modifying, or deleting regular notes and Runbooks".

  1. First call owl.nbook_note.list to search content and obtain the note_uuid; to narrow the scope, filter with type=normal or type=runbook.
  2. Call owl.nbook_note.get when you need to read the Markdown body.
  3. Call owl.nbook_note.add to create a note, using type to create normal or runbook. Call owl.nbook_note.modify to update; the type of an existing note cannot be modified.
  4. Call owl.nbook_note.delete to delete. Before performing write operations, confirm the target note or Runbook and its scope of impact.

Monitor Management Problems

Applies to questions such as "viewing monitors, creating monitors, updating monitors, and sending test events".

  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 you need to send external events to verify the event receiving channel.