Keyboard shortcuts

Press or to navigate between chapters

Press S or / to search in the book

Press ? to show this help

Press Esc to hide this help

mnemo.delegate

Delegate permissions to another agent with optional scoping and time bounds.

Input Schema

FieldTypeRequiredDescription
delegate_idstringyesAgent to delegate to
permissionstringyesread, write, delete, share, delegate
memory_idsstring[]noScope to specific memories
tagsstring[]noScope to memories with these tags
max_depthnumbernoMaximum transitive delegation depth (default 0)
expires_in_hoursnumbernoDelegation expiration time

Scoping

If memory_ids is provided, the delegation applies only to those specific memories. If tags is provided, it applies to memories matching those tags. If neither is provided, the delegation applies to all memories.

Transitive Delegation

When max_depth > 0, the delegate can further delegate to other agents, up to the specified depth.

Response

FieldTypeDescription
delegation_idstringUUID of the delegation
statusstringdelegated