> Discover all available pages from the documentation index: https://mastra.zisheng.pro/ko/llms.txt # Mastra.listTools() 그만큼`.listTools()`메서드는 Mastra 인스턴스에 구성된 Tool을 반환합니다. 반환된 레코드는 Mastra 등록 키와 Tool 인스턴스를 값으로 사용합니다. ## 사용예 ```typescript import { Mastra } from '@mastra/core/mastra' import { weatherTool } from './tools/weather-tool' export const mastra = new Mastra({ tools: { weather: weatherTool, }, }) const tools = mastra.listTools() const weather = tools?.weather ``` ## 매개변수 이 메서드는 매개변수를 허용하지 않습니다. ## 보고 **tools** (`TTools | undefined`): Mastra 수준의 Tool 레지스트리입니다. 각 키는 등록 키이고 각 값은 Tool 인스턴스입니다. 사용 가능한 레지스트리가 없으면 undefined를 반환합니다. 이 방법은 Mastra 수준 레지스트리를 나열합니다. 기능 기반 Agent에만 존재하는 Tool은 포함되지 않습니다.`tools` callback. ## 관련된 - [Agent 간 Tool 공유](https://mastra.zisheng.pro/ko/docs/agents/using-tools) - [마스트라 수업](https://mastra.zisheng.pro/ko/reference/core/mastra-class) - [마스트라.getTool()](https://mastra.zisheng.pro/ko/reference/core/getTool) - [마스트라.getToolById()](https://mastra.zisheng.pro/ko/reference/core/getToolById)