Documentation
¶
Overview ¶
Package mcp exposes Droidline commands as MCP tools over stdio: all of them, or the set chosen with --tools and --read-only.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Options ¶
type Options struct {
Addr, Token, Device, Home string
// Tools, when set, are the only tools listed and callable. ReadOnly keeps only the tools that never act on the
// phone. Both are off by default; with both, a tool must pass each. Opt-in tools (sms, calls, location and the like) need Tools to name them.
Tools []string
ReadOnly bool
}
Click to show internal directories.
Click to hide internal directories.