Skip to main content
Glama

diskutil_list

List all disks and partitions on macOS systems to view storage device information and partition layouts for system diagnostics and management.

Instructions

List all disks and partitions using diskutil list.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault

No arguments

Implementation Reference

  • Core handler function that runs the 'diskutil list' command via subprocess and returns its stdout.
    def diskutil_list() -> str: """Return the output of ``diskutil list`` for disk overview.""" return _run_command(["diskutil", "list"])
  • FastMCP tool registration decorator and thin wrapper that delegates to tools.diskutil_list() implementation.
    @app.tool( name="diskutil_list", description="List all disks and partitions using `diskutil list`.", ) def diskutil_list(_: Context | None = None) -> str: return tools.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