Skip to content

Add optional support for generic DocType access in AI tool functions #2055

@barredterra

Description

@barredterra

Today, access is limited to very specific helpers such as get_user, which makes broader use cases cumbersome and requires creating many per-DocType functions. It would be useful to let selected tools call a generic function like get_doc against any DocType, while still enforcing normal Frappe permissions and allowing this capability to be explicitly enabled per tool.

Metadata

Metadata

Assignees

No one assigned

    Labels

    AILLM, Agents, pretty much everything related around AIenhancementNew feature or request

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions