Job API Reference
This page is generated from reme/config/default.yaml. It describes callable jobs in the default application; plugins and custom configurations may add, remove, or override jobs. Run reme help to inspect the active service.
Background and cron jobs are not service-exposed and are omitted from the callable reference.
System and diagnostics
proactive_refresh
Refresh proactive topics once for local maintenance or debugging; not exposed by HTTP/MCP.
reme proactive_refresh ...| Parameter | Type | Required | Default | Description |
|---|---|---|---|---|
date | string | no | YYYY-MM-DD to refresh; defaults to today in the application's timezone |
proactive_read
Proactive: read daily/<date>/interests.yaml and expose the latest user-interest topics.
reme proactive_read ...| Parameter | Type | Required | Default | Description |
|---|---|---|---|---|
date | string | no | YYYY-MM-DD to read; defaults to today in the dreamer's timezone | |
include_content | boolean | no | true | whether to include the raw YAML content in the response answer and metadata |
horizon_days | integer | no | 1 | merge interests.yaml across this many recent days (1 = single-day legacy behaviour) |
min_confidence | number | no | 0.4 | minimum topic confidence to return (default 0.4 sits safely below the 0.5 fallback; v1 topics fall back to 0.5) |
version
return reme package version
reme versionNo parameters.
session_read
Read session history, including proactive user and assistant messages.
reme session_read ...| Parameter | Type | Required | Default | Description |
|---|---|---|---|---|
session_id | string | yes | — | agent session identifier |
session_status
Inspect session activity without waiting for generation.
reme session_status ...| Parameter | Type | Required | Default | Description |
|---|---|---|---|---|
session_id | string | yes | — | agent session identifier |
app_config
return the effective application config with secrets redacted
reme app_configNo parameters.
chat
Stream a read-only agent conversation over the ReMe workspace.
reme chat ...| Parameter | Type | Required | Default | Description |
|---|---|---|---|---|
query | string | yes | — | user message |
session_id | string | no | — | agent session to resume |
system_prompt | string | no | — | optional system prompt override |
health_check
return a concise health-check snapshot of reme components
reme health_checkNo parameters.
job_status
Query in-memory job executions and current step paths, newest first per job.
reme job_status ...| Parameter | Type | Required | Default | Description |
|---|---|---|---|---|
name | string | no | — | Optional job name; defaults to all tracked jobs |
status | string | no | — | Optional execution status filter |
limit | integer | no | 20 | Maximum executions returned per job |
status
report memory estimates for stateful data components and process RSS
reme statusNo parameters.
help
list all registered jobs with their metadata
reme helpNo parameters.
list_tags
List active tags with file counts. Returns {total_tags, total_pages, page, range, items}; range is the inclusive 1-based item range and each item is [tag, file_count]. A page past the end returns empty items and range [0, 0].
reme list_tags ...| Parameter | Type | Required | Default | Description |
|---|---|---|---|---|
page | integer | no | 1 | 1-based page; values past the end return an empty page |
order_by | string | no | tag | sort by tag or file count |
order | string | no | — | defaults to asc for tag, desc for file_count |
page_size | integer | no | 100 | items per page |
list_tag_files
Browse existing files matching any selected memory tag, within a workspace directory.
reme list_tag_files ...| Parameter | Type | Required | Default | Description |
|---|---|---|---|---|
tags | string[] | yes | — | — |
path | string | no | — | |
page | integer | no | 1 | — |
page_size | integer | no | 100 | — |
dashscope_search
Search the web with qwen3.8-flash; requires DASHSCOPE_API_KEY. Returns raw search_info sources and separate model-generated content; page bodies and snippets are not guaranteed.
reme dashscope_search ...| Parameter | Type | Required | Default | Description |
|---|---|---|---|---|
query | string | yes | — | web search query |
Memory evolution
auto_dream
Auto-dream: scan today's day-index and daily notes, globally extract merged units, integrate digest units, and persist the dream catalog.
reme auto_dream ...| Parameter | Type | Required | Default | Description |
|---|---|---|---|---|
date | string | no | YYYY-MM-DD to scan; defaults to today in the dreamer's timezone | |
hint | string | no | caller guidance passed through to dream extract/integrate | |
scan_days | integer | no | 2 | number of recent daily directories to scan, ending at date |
max_units | integer | no | 5 | maximum number of extracted memory units |
max_chars_per_batch | integer | no | 40000 | estimated bytes of changed file content per extraction call, taken from file size; it excludes prompt overhead and a single oversized file still gets its own call, so it is a batching budget rather than a hard request limit |
auto_memory
Auto-memory: record conversation facts into a daily note
reme auto_memory ...| Parameter | Type | Required | Default | Description |
|---|---|---|---|---|
request_id | string | no | — | Optional stable batch ID (1-128 characters); replay completed requests without rerunning the memory agent |
messages | object[] | yes | — | messages |
session_id | string | no | source conversation session identifier | |
memory_hint | string | no | — | optional hint |
include_images | boolean | no | false | Use session images with a vision-capable AgentScope model; save Base64 originals and cite sources |
date | string | no | YYYY-MM-DD daily note date; empty = infer from message timestamps or today |
auto_memory_cc
Auto-memory (Claude Code): record a Claude Code session into a daily note, resolved from its session_id
reme auto_memory_cc ...| Parameter | Type | Required | Default | Description |
|---|---|---|---|---|
session_id | string | yes | — | Claude Code session id; its transcript is resolved from disk |
memory_hint | string | no | — | optional hint |
auto_resource
Auto-resource: interpret resource files into daily notes
reme auto_resource ...| Parameter | Type | Required | Default | Description |
|---|---|---|---|---|
include_images | boolean | no | true | Process image resource changes with a vision-capable AgentScope wrapper; false skips all image events, including deletes |
changes | object[] | yes | — | resource change batch, each item has path/file_path and change |
Retrieval and graph
traverse
Return a readable bounded wikilink summary in answer and the complete structured graph in metadata.graph.
reme traverse ...| Parameter | Type | Required | Default | Description |
|---|---|---|---|---|
path | string or string[] | yes | — | workspace-relative path or paths used as graph seeds |
depth | integer | no | 1 | maximum number of wikilink hops |
direction | string | no | both | traversal direction; returned edges always preserve the original wikilink source-to-target direction |
graph_snapshot
Return the category-rooted digest wikilink graph with daily-note leaves.
reme graph_snapshotNo parameters.
reindex
rebuild BM25, embedding, and/or tag indexes without rescanning workspace files
reme reindex ...| Parameter | Type | Required | Default | Description |
|---|---|---|---|---|
scope | string | no | all | — |
search
Hybrid workspace search (vector + BM25, RRF-fused).
reme search ...| Parameter | Type | Required | Default | Description |
|---|---|---|---|---|
query | string | yes | — | search query |
limit | integer | no | 5 | max results |
min_score | number | no | 0 | Minimum returned score; 0 disables filtering (recommended). Uses native vector or BM25 scores when only one branch has hits, and rank-based RRF scores (at most 1/61, about 0.01639) when both have hits. The scale can change per query; this is not a normalized relevance threshold. |
tags | string[] | no | [] | optional tags filter; a file matches when it contains at least one valid tag |
start_date | string | no | — | optional inclusive start date filter (YYYY-MM-DD); results earlier than this date are excluded |
end_date | string | no | — | optional inclusive end date filter (YYYY-MM-DD); results later than this date are excluded |
node_search
Digest node recall — given a candidate abstraction's name+description, surface existing digest nodes similar enough to either dedup against or link to as related.
reme node_search ...| Parameter | Type | Required | Default | Description |
|---|---|---|---|---|
query | string | yes | — | search query |
limit | integer | no | 20 | max digest nodes to return |
Daily notes
daily_list
List daily notes without changing files or indexes. Defaults to all notes for today; date selects one day. Alternatively, start_date and end_date select an inclusive range, newest day first then path ascending. Range queries or explicit page/page_size opt into pagination (defaults: page 1, page_size 100). Metadata adds page, page_size, total_notes and total_pages; count and notes describe the returned page.
reme daily_list ...| Parameter | Type | Required | Default | Description |
|---|---|---|---|---|
date | string | no | YYYY-MM-DD; empty = today when no range is given; cannot be combined with a range | |
start_date | string | no | — | inclusive YYYY-MM-DD range start; requires end_date; cannot be combined with date |
end_date | string | no | — | inclusive YYYY-MM-DD range end; requires start_date |
page | integer | no | — | optional 1-based page; defaults to 1 when paginating; past the end returns no notes |
page_size | integer | no | — | optional notes per page; defaults to 100 when paginating |
daily_reindex
Rebuild the day-index page daily/<date>.md.
reme daily_reindex ...| Parameter | Type | Required | Default | Description |
|---|---|---|---|---|
date | string | no | YYYY-MM-DD; empty = today |
daily_write
Write a daily markdown note with conversation source frontmatter.
reme daily_write ...| Parameter | Type | Required | Default | Description |
|---|---|---|---|---|
name | string | yes | — | daily note filename stem and frontmatter name |
description | string | yes | — | frontmatter description |
session_id | string | yes | — | source conversation session identifier |
content | string | yes | — | body |
date | string | no | YYYY-MM-DD daily note date; empty = today | |
metadata | object | no | — | Optional extra frontmatter fields. |
File operations
frontmatter_delete
Drop keys from a file's frontmatter.
reme frontmatter_delete ...| Parameter | Type | Required | Default | Description |
|---|---|---|---|---|
path | string | yes | — | workspace-relative path |
keys | string[] | yes | — | keys to remove |
frontmatter_read
Read a file's frontmatter, one key: value per line.
reme frontmatter_read ...| Parameter | Type | Required | Default | Description |
|---|---|---|---|---|
path | string | yes | — | workspace-relative path |
frontmatter_update
Merge key-value pairs into a Markdown file's frontmatter while preserving its body and unrelated fields.
reme frontmatter_update ...| Parameter | Type | Required | Default | Description |
|---|---|---|---|---|
path | string | yes | — | workspace-relative path |
metadata | object | yes | — | key-values to merge |
stat
Stat path (size, mtime, exists, is_dir, is_file).
reme stat ...| Parameter | Type | Required | Default | Description |
|---|---|---|---|---|
path | string | yes | — | workspace-relative path |
list
List files under a workspace path.
reme list ...| Parameter | Type | Required | Default | Description |
|---|---|---|---|---|
path | string | no | workspace-relative dir; empty = root | |
recursive | boolean | no | false | recurse |
sort_by | string | no | — | optional ordering; mtime returns most recently modified files first |
extensions | string[] | no | — | optional extension allowlist applied before sorting and limiting |
limit | integer | no | 100 | max results |
move
Move / rename a workspace file; rewrites inbound wikilinks by default.
reme move ...| Parameter | Type | Required | Default | Description |
|---|---|---|---|---|
src_path | string | yes | — | workspace-relative source |
dst_path | string | yes | — | workspace-relative destination |
overwrite | boolean | no | false | overwrite if dst exists |
retarget | boolean | no | true | rewrite [[src]] → [[dst]] across the workspace |
delete
Delete a workspace file or folder; returns surviving inbound wikilinks.
reme delete ...| Parameter | Type | Required | Default | Description |
|---|---|---|---|---|
path | string | yes | — | workspace-relative path |
read
Read a markdown file under the workspace.
reme read ...| Parameter | Type | Required | Default | Description |
|---|---|---|---|---|
path | string | yes | — | workspace-relative path; markdown only |
start_line | integer | no | — | first line (1-based, inclusive) |
end_line | integer | no | — | last line (1-based, inclusive) |
load
Load a complete text file for the local editor without agent-output truncation.
reme load ...| Parameter | Type | Required | Default | Description |
|---|---|---|---|---|
path | string | yes | — | workspace-relative path |
read_image
Read an image file as base64 (workspace-relative path).
reme read_image ...| Parameter | Type | Required | Default | Description |
|---|---|---|---|---|
path | string | yes | — | workspace-relative path; common image formats supported (png/jpg/jpeg/webp/gif/bmp/tiff/heic) |
write
Write a markdown file (create or overwrite) with name/description frontmatter.
reme write ...| Parameter | Type | Required | Default | Description |
|---|---|---|---|---|
path | string | yes | — | workspace-relative path; markdown only |
name | string | yes | — | frontmatter name |
description | string | yes | — | frontmatter description |
content | string | yes | — | body |
metadata | object | no | — | Optional extra frontmatter fields (md only). |
save
Save text verbatim, optionally rejecting external changes since the file was opened.
reme save ...| Parameter | Type | Required | Default | Description |
|---|---|---|---|---|
path | string | yes | — | workspace-relative path |
content | string | yes | — | complete file content, including frontmatter |
expected_mtime | string | no | — | optional ISO mtime returned by stat |
edit
Find-and-replace in a markdown file (all occurrences).
reme edit ...| Parameter | Type | Required | Default | Description |
|---|---|---|---|---|
path | string | yes | — | workspace-relative path |
old | string | yes | — | text to find |
new | string | yes | replacement |