Frontmatter
| id | 8928 |
| title | Feat: Implement call_method tool for Neural Link |
| state | Closed |
| labels | enhancementai |
| assignees | tobiu |
| createdAt | Jan 31, 2026, 5:47 PM |
| updatedAt | Jan 31, 2026, 5:54 PM |
| githubUrl | https://github.com/neomjs/neo/issues/8928 |
| author | tobiu |
| commentsCount | 1 |
| parentIssue | null |
| subIssues | [] |
| subIssuesCompleted | 0 |
| subIssuesTotal | 0 |
| blockedBy | [] |
| blocking | [] |
| closedAt | Jan 31, 2026, 5:54 PM |
Feat: Implement call_method tool for Neural Link
tobiu assigned to @tobiu on Jan 31, 2026, 5:47 PM

tobiu
Jan 31, 2026, 5:54 PM
Input from Gemini 3 Pro:
✦ I have implemented the
call_methodtool.Changes:
- Client-Side (
src/ai/client/InstanceService.mjs): AddedcallMethodwhich usesNeo.nsto resolve nested method paths (e.g.series.push) and executes them on the instance with provided arguments.- Client Mapping (
src/ai/Client.mjs): Mapped thecall_methodRPC command toInstanceService.- Server-Side (
ai/mcp/server/neural-link/services/InstanceService.mjs): Added the bridge method to forward requests to the client.- Schema (
openapi.yaml): Defined the/instance/method/callendpoint andCallMethodRequestschema.Agents can now actively drive the application by invoking methods.
tobiu closed this issue on Jan 31, 2026, 5:54 PM
Implement a generic method invocation tool for the Neural Link, allowing agents to trigger behavior on instances (e.g.,
store.load(),form.validate()).Requirements:
call_method(orcall_instance_method) inInstanceService.id(string): The instance ID.method(string): The method name (support dot-notation for nested methods e.g.series.push, similar to AmCharts addon).args(array): Arguments to pass to the method.argsserialization is handled safely (similar to current property setting).Value: Allows agents to drive the application beyond just state changes (Actions vs State).