Skip to content

Replace the proprietary "args" front-matter key with an MCP-compliant "inputSchema" key - #183

Closed
drauschenbach wants to merge 1 commit into
masterfrom
david/frontmatter-replace-args-key-with-mcp-inputSchema
Closed

drauschenbach wants to merge 1 commit into
masterfrom
david/frontmatter-replace-args-key-with-mcp-inputSchema

Conversation

@drauschenbach

@drauschenbach drauschenbach commented Oct 29, 2026 •

Copy link
Copy Markdown
Contributor

Closes #182.

Test Prompt

---
name: research_person
description: Research a person from the open web and return a concise, factual summary.
runvil: 0
max_tool_iterations: 60
uses: [web]
models:
  researcher: {}
inputSchema:
  type: object
  properties:
    name: {type: string, description: "The name of the person to research"}
    links: {type: array, description: "Any additional links to help guide the search"}
  required: [name]
---

# Test

```lua
return '  - #args: ' .. #args
    .. '.\n  - args: ' .. args
    .. '.\n  - #argv: ' .. #argv
    .. '.\n  - argv.name: ' .. argv.name
    .. '.\n  - argv.links: ' .. table.concat(argv.links, ',')
    .. '.\n' 
```

Test Run and Output

$ GATEWAY_URL=http://127.0.0.1:5000 GATEWAY_SECRET=... cargo run
   Compiling runvil-prompt v0.1.0 (/Users/davidr/workspaces/runvil-prompt)
    Finished `dev` profile [unoptimized + debuginfo] target(s) in 0.57s
     Running `target/debug/runvil-prompt`
Starting
[research-person-d-rauschenbach] Prompt: parse_started
[research-person-d-rauschenbach] Test: lua_compilation_started
[research-person-d-rauschenbach] Test: lua_compilation_succeeded
[research-person-d-rauschenbach] Prompt: parse_succeeded
[research-person-d-rauschenbach] Test: run_started
[research-person-d-rauschenbach] Test: lua_chunk_started
[research-person-d-rauschenbach] Test: lua_chunk_succeeded
[research-person-d-rauschenbach] Test: lua_teardown_started
[research-person-d-rauschenbach] Test: lua_teardown_succeeded
[research-person-d-rauschenbach] Test: run_succeeded
  - #args: 532.
  - args: {"links":["https://github.com/drauschenbach","https://gitlab.com/drauschenbach","https://gitlab.com/megalithic-llc","https://gitlab.com/megalithic-llc/auric-spa","https://gitlab.com/megalithic-llc/stuart","https://gitlab.com/on-prem-net","https://gitlab.com/saas-rs","https://www.slideshare.net/slideshow/developing-and-deploying-edge-analytics-with-redis/139258257"],"name":"David Rauschenbach"}.
  - #argv: 0.
  - argv.name: David Rauschenbach.
  - argv.links: https://github.com/drauschenbach,https://gitlab.com/drauschenbach,https://gitlab.com/megalithic-llc,https://gitlab.com/megalithic-llc/auric-spa,https://gitlab.com/megalithic-llc/stuart,https://gitlab.com/on-prem-net,https://gitlab.com/saas-rs,https://www.slideshare.net/slideshow/developing-and-deploying-edge-analytics-with-redis/139258257.

Finished

Workshop Testing

The workshop Run New Window feature correctly prompts for the properties. But asking to run the prompt doesn't do anything, and I assume that's an existing issue.

Screenshot 2026-10-29 at 10 04 19 AM

@drauschenbach
drauschenbach force-pushed the david/frontmatter-replace-args-key-with-mcp-inputSchema branch from f144650 to 3adb63e Compare October 29, 2026 17:27
@drauschenbach
drauschenbach force-pushed the david/frontmatter-replace-args-key-with-mcp-inputSchema branch from 3adb63e to 236ee39 Compare October 29, 2026 17:31
@vinniefalco

Copy link
Copy Markdown
Member

Deleting the branch behind this pull request; the work can be recovered from commit 236ee39 if it is ever wanted.

@vinniefalco
vinniefalco deleted the david/frontmatter-replace-args-key-with-mcp-inputSchema branch October 31, 2026 02:01
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Replace proprietary args front-matter key with MCP-compatible inputSchema JSON Schema

2 participants