MCPcopy Create free account
hub / github.com/commandoperator/cmdop-sdk / ask

Method ask

python/src/cmdop/resources/machines.py:102–131  ·  view source on GitHub ↗

Talk to the machine's AI agent. Returns a :class:`FrameStream` with ``pin()`` / ``confirm()`` / ``collect()``. ``pin`` is the upfront connection PIN for a PIN-gated target: the relay forwards it once to the machine for local verification (zero-knowledge — never store

(
        self,
        machine_id: str,
        prompt: str,
        *,
        session_id: str | None = None,
        agent_type: str | None = None,
        timeout_seconds: int | None = None,
        options: dict[str, str] | None = None,
        pin: str | None = None,
    )

Source from the content-addressed store, hash-verified

Callers

nothing calls this directly

Calls 1

call_streamMethod · 0.80

Tested by

no test coverage detected