definition property

  1. @override
Tool get definition
override

Implementation

@override
Tool get definition => Tool(
      name: 'kill_app',
      description: 'Stop a running Flutter app and detach. With no args, stops the '
          'app glint launched / is attached to. A glint-launched app is '
          'stopped via its `flutter run`; an attached app is also terminated '
          'on the device when its bundle id is known. '
          'device: target device (defaults to the attached one). '
          'appId: bundle id (iOS) or package (Android) to force-terminate; '
          'an app this session never attached is refused unless force:true.',
      inputSchema: ObjectSchema(
        properties: {
          'device': Schema.string(
            description: 'Device id. Defaults to the attached device.',
          ),
          'appId': Schema.string(
            description: 'Bundle id (iOS) / package (Android) to terminate.',
          ),
          'force': Schema.bool(
            description: 'Terminate an appId this session did not attach. Default false.',
          ),
        },
      ),
    );