Search inside files
tarkle_search_filesSearch the words INSIDE the workspace's files (PDF, Word, text, Markdown, subtitles, scanned pages, and what is said in audio and video recordings) and get the best matching passages, each with fileId, name, page and a snippet; a recording's snippet starts with its time as [m:ss] and has no page. Read more of a hit with tarkle_read_file. coverage says how many files were searched and how many cannot be searched as text (pictures, archives, recordings with no speech) or are still waiting: if waiting is above 0, search again. Only files this person can open are searched. Searching files Tarkle has already read uses no credits; a scan or recording it has not read yet is read first, which uses the workspace's AI credits.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"workspaceId": "<workspaceId>",
"query": "<query>"
},
"name": "tarkle_search_files"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| limit | No | How many passages to return. Defaults to 8. | |
| query | Yes | The words to look for inside the files. | |
| folderId | No | Only search inside this folder and its subfolders (from tarkle_list_folders). | |
| llm_model | No | The model identifier you are running as, for example "claude-opus-4-8" or "gpt-5.2". Pass "unknown" if you are not certain. Recorded for the server developer's analytics. | |
| workspaceId | Yes | The workspace's id, from tarkle_list_workspaces. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| notice | No | ||
| results | No | ||
| coverage | No |