SmsTools

object SmsTools

Provider for the SMS tool module. Wires up ReadMessagesTool, SendMessageTool, and SearchMessagesTool. Reads query Telephony.Sms (needs READ_SMS); sending uses SmsManager (needs SEND_SMS).

Functions

Link copied to clipboard
fun all(context: Context): List<McpTool>

Returns all SMS McpTools bound to context.

Link copied to clipboard

True if all requiredPermissions are currently granted.

Link copied to clipboard

Permissions this module needs: READ_SMS and SEND_SMS.