ShareContentTool

class ShareContentTool(context: Context) : McpTool

Shares text via the system share sheet (ACTION_SEND wrapped in a chooser), with optional subject and type (default text/plain). No permissions. Output: success, text_length, type.

Constructors

Link copied to clipboard
constructor(context: Context)

Properties

Link copied to clipboard
open override val annotations: ToolAnnotations
Link copied to clipboard
open override val description: String
Link copied to clipboard
open override val name: String
Link copied to clipboard
open override val parameters: List<ToolParameter>

Functions

Link copied to clipboard
open suspend override fun execute(params: Map<String, Any>): ToolResult