Skip to content

mcp: prop.get on a property group path returns a misleading "no property" error #263

Closed

Description

@pat-the-wizard

get_layer lists groups such as geometryOptions on a 3D text layer. Its tool description says every node's path works with get_property (tools.rs:537). But get_property {path:"geometryOptions"} fails with:

no property `geometryOptions`

prop.rs:18-19 only resolves leaf properties.

Suggestion: either return a clearer error ("geometryOptions is a property group; use get_layer"), or return the group's subtree. This is small, and I could fold it into the PR for #257.

Environment: EffectCraft 0.4.0 (release build), Linux x64, driven through the headless MCP server (effectcraft mcp), CPU renderer. Code references in this issue are against main @ 72a2d47, from reading the source, so please correct me where I misread it.

Activity

  1. bflatastic commented on Oct 8, 2026

    @bflatastic
    Member

    Agreed it's misleading. As discussed on #257, folding this into that PR is fine: a clear error for a group path that points at get_layer. Thanks, @pat-the-wizard!


    Generated by Claude Code

  2. added 3 commits that reference this issue on Oct 8, 2026
    ccf4d13
    63c93a8
    e61464b
  3. added a commit that references this issue on Oct 10, 2026
    6931021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions