Skip to main content
Glama

diskutil_list

List all disks and partitions on macOS systems to view storage configuration and identify available drives.

Instructions

List all disks and partitions using diskutil list.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault

No arguments

Implementation Reference

  • MCP tool handler function that delegates execution to the underlying tools.diskutil_list() implementation.
    def diskutil_list(_: Context | None = None) -> str: return tools.diskutil_list()
  • Registers the 'diskutil_list' tool with the FastMCP app, including name and description (implicit schema: no inputs, str output).
    @app.tool( name="diskutil_list", description="List all disks and partitions using `diskutil list`.", )
  • Core implementation that executes the 'diskutil list' shell command via _run_command helper.
    def diskutil_list() -> str: """Return the output of ``diskutil list`` for disk overview.""" return _run_command(["diskutil", "list"])

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/Zhuoli/mcp101'

If you have feedback or need assistance with the MCP directory API, please join our Discord server