SearchCallLogTool

Searches CallLog.Calls where NUMBER or CACHED_NAME matches query (SQL LIKE substring), via ContentResolver, newest first. Requires READ_CALL_LOG. Output: the echoed query, calls (list of {id, number, name, type via callTypeName, date formatted yyyy-MM-dd HH:mm, duration_seconds}), and count, capped at limit (1–100, default 10).

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