recv mcp tool: default max to a small batch of 5 (wire default stays 1)
This commit is contained in:
parent
f310b1ce5a
commit
d46d3c261b
3 changed files with 31 additions and 23 deletions
|
|
@ -519,7 +519,7 @@ ttl_seconds?, to?)`, `answer(id, answer)`, `ack_until(up_to)`.
|
|||
that carve-out is structural, keyed on parent relationship, not name).
|
||||
- `recv` — drain inbox. Without `wait_seconds` (or `0`) returns
|
||||
immediately. Positive value parks the turn up to that many seconds
|
||||
(cap 180) — incoming messages wake instantly. `max` (default 1, cap
|
||||
(cap 180) — incoming messages wake instantly. `max` (tool default 5, cap
|
||||
32) drains up to N rows; `wait_seconds` applies to the first, then
|
||||
drains up to `max` total. Each returned row is prefixed with
|
||||
`[msg #<id>]` (broker row id; note the highest id seen, then pass
|
||||
|
|
|
|||
Loading…
Reference in a new issue