Skip to content

Commit ffb4d38

Browse files
Merge pull request #313440 from yousefi-msft/yousefi/concept-tool
new concept-tool; updated toc
2 parents d60506f + 25db536 commit ffb4d38

2 files changed

Lines changed: 55 additions & 87 deletions

File tree

Lines changed: 51 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,51 @@
1+
---
2+
title: Microsoft Discovery tools
3+
description: Learn about tools in Microsoft Discovery, including tool types, tool artifacts, and how tools are deployed to the platform.
4+
author: yousefi-msft
5+
ms.author: yousefi
6+
ms.service: azure
7+
ms.topic: concept-article
8+
ms.date: 03/18/2026
9+
10+
#CustomerIntent: As an agent author in Microsoft Discovery, I want to learn about how tools work in Discovery and what types are available.
11+
---
12+
13+
# Microsoft Discovery tools concepts
14+
Tools allow agents to perform specific operations in a repeatable, consistent, and efficient manner. Many operations are already reliably implemented in the form of Software Development Kits (SDK) or Application Programming Interfaces (API). For example, reading and writing to a database happens through a vendor API, which is typically well-documented and optimized. Other examples of where to use a tool include complex or performance-based algorithms or simulations that can't tolerate stochasticity. Tools enable AI models and their agents to direct their workflow reliably and efficiently to interact with existing systems. Examples of tool uses include:
15+
16+
- **Computational tools** provide the necessary algorithms to solve complex mathematical problems, simulate physical phenomena or engineering systems, and analyze large scientific datasets.
17+
18+
- **Data processing tools** manage and refine data collected from various sources. They allow users to extract relevant information, remove noise, and preprocess data for further analysis within the Discovery platform.
19+
20+
- **Simulation tools** can model and simulate physical, chemical, or biological processes, and complex engineering systems using the platform's Supercomputer resources. These tools are crucial for experimentation that can't feasibly be conducted in practice due to constraints such as time, cost, or safety concerns.
21+
22+
- **Visualization tools** interpret scientific data or engineering design data and communicate findings graphically. These tools transform data into graphical representations like charts, graphs, and 3D models, making it easier to explore models, identify patterns, and uncover trends and anomalies.
23+
24+
## Tool types
25+
Microsoft Discovery supports two types of tools: **action** and **code-environment based** tools.
26+
27+
### Action-based tools
28+
29+
Action-based tools are used when the software requires an operating system, such as with commercial, proprietary, or open-source packages. These packages are commonly distributed as binaries or have complex installation requirements. Examples are simulators, emulators, compilers, visualizers, linters, design automation tools, modeling packages, and similar complex software packages.
30+
31+
Tools are installed in a Docker image that is then stored in a container registry. The execution profile of each action the tool should perform, along with arguments, required inputs, and expected outputs, is annotated in the tool's profile. The tool definition's annotations provide the agent with the context of the execution and purpose so that it can effectively plan the invocation.
32+
33+
### Code-environment based tools
34+
35+
A code-environment based tool enables a Microsoft Discovery agent to run custom code or generate an on-demand tool. Any language that the controlling agent can generate and a software development kit is accessible can be used. Code-environment based tools allow an agent to quickly author and execute code. Novel algorithms or dynamically created tools generated by a model are the most likely target scenarios for code-environment based tools.
36+
37+
### Hybrid tools
38+
Code-environment and action-based tools can be combined to create a hybrid tool. Hybrid tools combine action-based tools in container images with code-environment tools dynamically generated by the platform's AI capabilities. Hybrid tools create a dynamic execution environment allowing AI models to generate code that is executed in the structured environment of action-based tools.
39+
40+
## Requirements for authoring tools
41+
42+
Action-based tools must be packaged in a Docker container and stored in a registry accessible to the Microsoft Discovery Supercomputer. A tool definition must be written that has the required specifications. Code-environment based tools also require a tool definition; however, the associated action is directly running the generated code and little else.
43+
44+
## Cardinality and execution profile
45+
46+
Tool definitions can be shared across an entire subscription because the tool definition isn't a unique instantiation. Tools are only instantiated when invoked. Multiple agents can all reference the same tool without conflict as each is instantiated in isolation. As such, care must be taken to ensure that tools don't have any values or data hardcoded either in the profile or the execution profile.
47+
48+
## Next step
49+
50+
> [!div class="nextstepaction"]
51+
> [Microsoft Discovery agents](concept-discovery-agent.md)

articles/microsoft-discovery/toc.yml

Lines changed: 4 additions & 87 deletions
Original file line numberDiff line numberDiff line change
@@ -6,12 +6,6 @@ items:
66
- name: What is Microsoft Discovery?
77
href: overview-what-is-microsoft-discovery.md
88
displayName: Microsoft Discovery, services, overview, introduction
9-
- name: Microsoft Discovery key use cases
10-
href: overview-key-scenarios.md
11-
displayName: Microsoft Discovery, key scenarios, use cases, research, R&D, scientific discovery
12-
- name: What is Microsoft Discovery Studio?
13-
href: concept-studio.md
14-
displayName: Microsoft Discovery, Studio, portal, interface, VS Code, web, UI, customization
159
- name: Quickstarts
1610
items:
1711
- name: v1 to v2 transition guidance
@@ -84,31 +78,11 @@ items:
8478
- name: Discovery Agent types
8579
href: concept-discovery-agent-types.md
8680
displayName: Discovery Agent, agent types, prompt agent, workflow agent, orchestration
87-
- name: Discovery Engine
88-
items:
89-
- name: Discovery Engine overview
90-
href: concept-discovery-engine.md
91-
displayName: Discovery Engine, cognition, tasks, autonomous research, Discovery Mode
92-
- name: Cognition overview
93-
href: concept-cognition-overview.md
94-
displayName: cognition, reasoning loop, task management, agent selection, Discovery Mode
95-
- name: Tasks and investigations
96-
href: concept-tasks-investigations.md
97-
displayName: tasks, investigations, workflows, task status, dependencies, validation requirements
98-
- name: Files and storage assets
99-
href: concept-files-storage-assets.md
100-
displayName: files, storage assets, WriteResource, file types, file outputs, binary files
101-
- name: Trust relationship and basic investigation patterns
102-
href: concept-trust-basic-investigation-patterns.md
103-
displayName: trust, validation requirements, investigation patterns, workflow patterns, task structure, autonomy
104-
- name: Advanced investigation patterns
105-
href: concept-advanced-investigation-patterns.md
106-
displayName: investigation patterns, workflow patterns, deterministic, guided exploration, autonomous research
107-
- name: Observability
81+
- name: Tools
10882
items:
109-
- name: Observability overview
110-
href: concept-observability.md
111-
displayName: Microsoft Discovery, observability, logs, Log Analytics, MRG, activity logs, monitoring
83+
- name: Discovery Tool concepts
84+
href: concept-discovery-tools.md
85+
displayName: Discovery Tool, code-environment based tools, action-based tools
11286
- name: How-tos
11387
items:
11488
- name: Migration
@@ -156,60 +130,3 @@ items:
156130
- name: Configure customer-managed keys
157131
href: howto-data-encryption-at-rest.md
158132
displayName: Microsoft Discovery, customer-managed keys, CMK, encryption at rest, Key Vault
159-
- name: Investigations & Discovery Mode
160-
items:
161-
- name: Build investigations with cognition
162-
href: how-to-build-investigations-cognition.md
163-
displayName: investigations, workflows, cognition, tasks, Discovery Mode, investigation
164-
- name: Task addition and execution
165-
href: how-to-task-addition-execution.md
166-
displayName: tasks, dependencies, execution, results, task management
167-
- name: Debug task execution
168-
href: how-to-debug-task-execution.md
169-
displayName: debug, troubleshoot, stuck tasks, validation, errors
170-
- name: "Tutorial: Discovery Mode"
171-
href: tutorial-discovery-mode.md
172-
displayName: tutorial, Discovery Mode, first investigation, getting started
173-
- name: Tools
174-
items:
175-
- name: Plan tool requirements
176-
href: how-to-plan-tool-requirements.md
177-
displayName: Microsoft Discovery, tool publishing, requirements, compute, dependencies, tool type
178-
- name: Write action scripts
179-
href: how-to-write-tool-action-scripts.md
180-
displayName: Microsoft Discovery, tool publishing, action scripts, entrypoint, batch processing, output
181-
- name: Create a Dockerfile
182-
href: how-to-create-tool-docker-file.md
183-
displayName: Microsoft Discovery, tool publishing, Dockerfile, containerize, Docker image
184-
- name: Publish container image to ACR
185-
href: how-to-publish-tool-to-acr.md
186-
displayName: Microsoft Discovery, tool publishing, Azure Container Registry, ACR, push, tag
187-
- name: Create a tool definition
188-
href: how-to-create-tool-definition.md
189-
displayName: Microsoft Discovery, tool definition, YAML, actions, code environment, compute, infra
190-
- name: Observability
191-
items:
192-
- name: Access resource logs
193-
href: how-to-access-resource-logs.md
194-
displayName: Microsoft Discovery, logs, Managed Resource Group, MRG, Log Analytics, access
195-
- name: Query workspace logs
196-
href: how-to-query-workspace-logs.md
197-
displayName: Microsoft Discovery, workspace, logs, Log Analytics, KQL, DiscoveryLogs_CL, correlation ID
198-
- name: Query CogLoop logs
199-
href: how-to-query-cognitive-loop-logs.md
200-
displayName: Microsoft Discovery, CogLoop, AI orchestration, logs, Log Analytics, KQL, DiscoveryCogLoopLogs, investigation progress
201-
- name: Query supercomputer logs
202-
href: how-to-query-supercomputer-logs.md
203-
displayName: Microsoft Discovery, supercomputer, logs, Kubernetes, KubePodInventory, KubeEvents, tool logs
204-
- name: Query bookshelf knowledgebase query logs
205-
href: how-to-query-bookshelf-query-logs.md
206-
displayName: Microsoft Discovery, bookshelf, knowledgebase, query logs, DiscoveryLogs_CL
207-
- name: Query bookshelf indexing logs
208-
href: how-to-query-bookshelf-indexing-logs.md
209-
displayName: Microsoft Discovery, bookshelf, indexing, logs, DiscoveryBookshelfLogs_CL
210-
- name: View activity logs
211-
href: how-to-view-activity-logs.md
212-
displayName: Microsoft Discovery, activity logs, control plane, audit, Azure Monitor, AzureActivity
213-
- name: Enable audit logging
214-
href: how-to-enable-audit-logging.md
215-
displayName: Microsoft Discovery, audit logging, diagnostic settings, compliance, retention, storage account, Log Analytics

0 commit comments

Comments
 (0)